Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1 (1 point) All information that is to be processed by a computer must

ID: 3530513 • Letter: Q

Question

Question 1 (1 point) All information that is to be processed by a computer must first be entered into memory via an input device. Question 1 options: True False Save Question 2 (1 point) A list of instructions provided to the computer is called a program. Question 2 options: True False Save Question 3 (1 point) Statements in a high?level language are converted to statements in machine language by a loader. Question 3 options: True False Save Question 4 (1 point) Some files contain data for a program; others contain the program statements themselves. Question 4 options: True False Save Question 5 (1 point) A syntax error in a program is an error that causes the program to produce incorrect output. Question 5 options: True False Save Question 6 (1 point) One task of an operating system is to provide input and output facilities to a program. Question 6 options: True False Save Question 7 (1 point) When a program begins to execute, the contents of the memory cells it uses are initially empty. Question 7 options: True False Save Question 8 (1 point) If the computer is switched off, data in secondary storage is usually not lost. Question 8 options: True False Save Question 9 (1 point) The data types used for storage of numeric data are digits, the sign, and the decimal point. Question 9 options: True False Save Question 10 (1 point) Loading the operating system from disk into memory is called booting the computer. Question 10 options: True False Save Question 11 (1 point) This assignment statement stores the sum of b and c in a: b + c = a; Question 11 options: True False Save Question 12 (1 point) The word char is a reserved word in C so it cannot be used as a variable name. Question 12 options: True False Save Question 13 (1 point) The directive #define FIVE 5 notifies the C preprocessor that it is to replace each use of FIVE by 5. Question 13 options: True False Save Question 14 (1 point) Before a new value can be stored in a memory cell, a C program must first execute the erase function to remove the cell's old contents. Question 14 options: True False Save Question 15 (1 point) All values stored in memory are represented as binary strings, patterns of zeros and ones. Question 15 options: True False Save Question 16 (1 point) The statement c = d; checks to see if variables c and d have the same value. Question 16 options: True False Save Question 17 (1 point) If x is a type double variable and n is of type int, the following assignment statements are equivalent. x = n; x = (double)n; Question 17 options: True False Save Question 18 (1 point) If the value of x is 735, the statement printf("M", x); will display four blanks followed by 735. Question 18 options: True False Save Question 19 (1 point) The value of the expression x + y * z * z is always the same as the value of x + ((y * z) * z) Question 19 options: True False Save Question 20 (1 point) A type char literal is enclosed in single quotes. Question 20 options: True False Save Question 21 (1 point) The symbol = is the C equality operator. Question 21 options: True False Save Question 22 (1 point) The following decision structure is invalid: if x <= y="" printf="" lf="" x="" else="" question="" 22="" options:="" true="" false="" save="" 23="" 1="" point="" conditions="" are="" said="" to="" be="" mutually="" exclusive="" if="" at="" most="" condition="" can="" a="" time="" 24="" compound="" statement="" is="" sequence="" of="" statements="" enclosed="" in="" braces="" 25="" the="" following="" program="" segment="" gives="" and="" same="" value="" true:=""> y) { y = x; x = y; } Question 25 options: True False Save Question 26 (1 point) Pseudocode is a special form of machine language produced by the C compiler Question 26 options: True False Save Question 27 (1 point) Program readability can be improved by indenting both the true and false tasks of all if-else statements. Question 27 options: True False Save Question 28 (1 point) An algorithm should be carefully hand traced before it is implemented in C. Question 28 options: True False Save Question 29 (1 point) If the value of control is 5, the following switch statement will cause a run-time error. switch (control) { case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; case 4: printf("four"); } Question 29 options: True False Save Question 30 (1 point) An if/else is the same as a loop. Question 30 options: True False Save Question 31 (1 point) An actual argument of type int cannot be passed to a corresponding formal parameter of type double. Question 31 options: True False Save Question 32 (1 point) Because the following statement is a valid call to function wow, wow must be a void function. num = wow(x, y); Question 32 options: True False Save Question 33 (1 point) Functions are permitted to have only one input argument. Question 33 options: True False Save Question 34 (1 point) A function that takes no arguments is more versatile than a function that requires arguments. Question 34 options: True False Save Save All ResponsesGo to Submit Quiz

Explanation / Answer

please rate -thanks

if you have any questions ask


Question 1 (1 point) All information that is to be processed by a computer must first be entered into memory via an input device. Question 1 options: True False Save False - may be generated by the program, or specified in the program




Question 2 (1 point) A list of instructions provided to the computer is called a program. Question 2 options: True False

True --assuming they are not just random instructions



Save Question 3 (1 point) Statements in a high?level language are converted to statements in machine language by a loader. Question 3 options: True False --false by a compiler or interpreter



Save Question 4 (1 point) Some files contain data for a program; others contain the program statements themselves. Question 4 options: True False Save True


Question 5 (1 point) A syntax error in a program is an error that causes the program to produce incorrect output. Question 5 options: True False False-can't run the program with syntax errors


Save Question 6 (1 point) One task of an operating system is to provide input and output facilities to a program. Question 6 options: True False Save --False OS manages I/O facilities



Question 7 (1 point) When a program begins to execute, the contents of the memory cells it uses are initially empty. Question 7 options: True False -false have "garbage in them"


Save Question 8 (1 point) If the computer is switched off, data in secondary storage is usually not lost. Question 8 options: True False Save --true


Question 9 (1 point) The data types used for storage of numeric data are digits, the sign, and the decimal point. Question 9 options: True False Save --false


Question 10 (1 point) Loading the operating system from disk into memory is called booting the computer. Question 10 options: True False Save true



Question 11 (1 point) This assignment statement stores the sum of b and c in a: b + c = a; Question 11 options: True False Save false it's a=b+c;


Question 12 (1 point) The word char is a reserved word in C so it cannot be used as a variable name. Question 12 options: True False Save true


Question 13 (1 point) The directive #define FIVE 5 notifies the C preprocessor that it is to replace each use of FIVE by 5.Question 13 options: True False true


Save Question 14 (1 point) Before a new value can be stored in a memory cell, a C program must first execute the erase function to remove the cell's old contents. Question 14 options: True False Save False


Question 15 (1 point) All values stored in memory are represented as binary strings, patterns of zeros and ones. Question 15 options: True False Save True


Question 16 (1 point) The statement c = d; checks to see if variables c and d have the same value. Question 16 options: True False Save False puts the value in d into c


Question 17 (1 point) If x is a type double variable and n is of type int, the following assignment statements are equivalent. x = n; x = (double)n; Question 17 options: True False Save True (in C)


Question 18 (1 point) If the value of x is 735, the statement printf("M", x); will display four blanks followed by 735. Question 18 options: True False Save False False will print the letter M and nothing for x


Question 19 (1 point) The value of the expression x + y * z * z is always the same as the value of x + ((y * z) * z) Question 19 options: True False Save True



Question 20 (1 point) A type char literal is enclosed in single quotes. Question 20 options: True False Save -True



Question 21 (1 point) The symbol = is the C equality operator. Question 21 options: True False Save false equality is ==, set equal to is =


Question 22 (1 point) The following decision structure is invalid: if x <= y="" printf="" lf="" x="" else="" question="" 22="" options:="" true="" false="" save="" looks like the question is destroyed but False can't say x<=y=" "

must say y<=y and y==" "



23="" 1="" point="" conditions="" are="" said="" to="" be="" mutually="" exclusive="" if="" at="" most="" condition="" can="" a="" time="" sorry -- don't know what is being asked


24="" compound="" statement="" is="" sequence="" of="" statements="" enclosed="" in="" braces="" --True


25="" the="" following="" program="" segment="" gives="" and="" same="" value="" true:=""> y) { y = x; x = y; }

Question 25 options: True False Save -- sorry -- don't know what is being asked


Question 26 (1 point) Pseudocode is a special form of machine language produced by the C compiler Question 26 options: True False Save False - used to design an algorithm


Question 27 (1 point) Program readability can be improved by indenting both the true and false tasks of all if-else statements. Question 27 options: True False Save


Question 28 (1 point) An algorithm should be carefully hand traced before it is implemented in C. Question 28 options: True False Save True - all the time


Question 29 (1 point) If the value of control is 5, the following switch statement will cause a run-time error. switch (control) { case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; case 4: printf("four"); } Question 29 options: True False Save False --it will just do nothing


Question 30 (1 point) An if/else is the same as a loop. Question 30 options: True False Save False


Question 31 (1 point) An actual argument of type int cannot be passed to a corresponding formal parameter of type double. Question 31 options: True False Save True -it cannot, types MUST match


Question 32 (1 point) Because the following statement is a valid call to function wow, wow must be a void function. num = wow(x, y); Question 32 options: True False Save False wow is returning something, so has a type


Question 33 (1 point) Functions are permitted to have only one input argument. Question 33 options: True False Save

False, if by input argument you mean the parameter list



Question 34 (1 point) A function that takes no arguments is more versatile than a function that requires arguments. Question 34 options: True False Save Save False



All ResponsesGo to Submit Quiz