HRS - Ask. Learn. Share Knowledge. Logo

Questions in computers-and-technology

[Done] Which function is used to read a character from the user? a. getch() b. getchar() c. gets() d. scanf()

[Done] What ethical concern is associated with the use of Artificial Intelligence (AI)? a) Data Privacy b) Digital Divide c) Bias and lack of transparency d) Environmental Impact

[Done] Which of the following are examples of peripheral devices? A. The software that runs on the computer. B. The CPU, memory, and storage devices. C. The keyboard, mouse, speakers, and monitor. D. The electrical outlets that the computer is plugged into.

[Done] The following program uses function FindSum to calculate the sum of positive numbers in a list of n numbers entered by a user. #include int FindSum(int n); int main() { int n, sum = 0; printf("How many numbers? "); scanf("%d", &n); sum = FindSum(n); printf("\nThe sum is %d\n", sum); } The examples of input and output of the program are shown below. Input: How many numbers? 6 3 7 -5 4 10 3 Output: The sum is 24 Write the code segment for function FindSum() to complete the above program.

[Done] II. Section B: Fill in the Blanks Use the words below to complete the sentences: laptop, desktop, supercomputer, smartphone, hand-held 1. A ______ computer is placed on a table and not easy to carry. 2. A ______ is small and fits in your pocket. 3. A ______ is powerful and used for big tasks like weather forecasting. 4. A ______ is a portable computer you can carry easily. 5. A tablet is an example of a ______ computer.

[Done] 9. What device is commonly used to boost and regenerate signals in long-distance data transmission? A) Switch B) Hub C) Repeater D) Firewall 10. Which of the following is a programming language? A) Microsoft Word B) Google C) Python D) Power Point

[Done] What would the output of the following code snippet be? ```python num_one = 76 num_two = 23.4 print("datatype of num_one:", type(num_one)) print("datatype of num_two:", type(num_two)) ``` Options: A) datatype of num_one: datatype of num_two: B) datatype of num_one: datatype of num_two: C) datatype of num_one: datatype of num_two: D) datatype of num_one: datatype of num_two:

[Done] I am capable of managing files on a computer. In order to do so, I would click on which of the following to open a WORD document? A B C D

[Done] Which two can be achieved in a Java application if Exception Handling techniques are implemented? A. organized error types B. communication between objects C. automatic log of errors D. controlled flow of program execution E. optimized code

[Done] Write 'T' for a true statement and 'F' for a false statement. a. A computer cannot run without an OS. b. Computer software is stored and executed with the help of computer software. c. A DBMS can store details about the customers, employees, product and so on. d. A computer system has many resources such as CPU time, memory space and I/O devices. e. A virus is a computer program that may disrupt the normal functioning of your computer.