PDF Google Drive Downloader v1.1


Report a problem

Content text preliminary paper computer - xii-2024.pdf

PRELIMINARY EXAMINATION 2023 – 24 COMPUTER – II Date: 23-04-2024 Time: 20 Minutes Max. Marks: 15 SECTION “A” (MULTIPLE CHOICE QUESTIONS) Q#1 Choose the correct answer from each question. 15 1. A character constant is a single character, is enclosed: a) In double quotation marks b) In single quotation marks c) In left and right braces d) Without quotation marks 2. A block of instructions that performs a specific task is a/an: a) Function b) Loop c) String d) Array 3. This data type in C occupies 4 times as many bytes of memory as type char: a) Long float b) Int c) Float d) Double 4. Loop with in the loop is called: a) Nested loop b) Continuous loop c) inner loop d) outer loop 5. This function is used to read a single character from a file: a) putchar() b) get() c) getc() d) getche() 6. Passing parameters/arguments/values of a function are given within the: a) Curly brackets {} b) Square brackets [ ] c) Parenthesis () d) Pair of slashes /**/ 7. The function void play(void); is an example of: a) A prototype declared as a function b) Calling function c) Return type d) Itself function 8. This function is used to write onto the computer screen in C: a) printf() b) main() c) clrscr() d) getch() 9. The specialized software necessary to create and process the database and modify it as needed is called: a) Compiler b) Windows XP c) DBMS d) Interpreter 10. Every statement in C must end with: a) ; b) , c) . d) } 11. This object in MS-Access is used to display data in a printed form: a) Form b) Query c) Report d) Table 12. The function scanf() reads: a) Any possible number b) Any variable type c) A single character d) A character and a string 13. This is a data type in MS-Access: a) Int b) Float c) Currency d) String 14. This is the output of 4 % 5: a) 0 b) 1 c) 4 d) 5 15. The primary key in a Database is: a) Unique b) Duplicate c) Null d) None CODE NO COMP-01
PRELIMINARY EXAMINATION 2023 – 24 COMPUTER – II Date: 23-04-2024 Time: 20 Minutes Max. Marks: 15 SECTION “A” (MULTIPLE CHOICE QUESTIONS) Q#1 Choose the correct answer from each question. 15 1. This is an escape sequence: a) \n b) /t c) %f d) i++ 2. This operator has the lowest precedence: a) ++ b) % c) < d) && 3. This is the format specifier of the "int" variable: a) %f b) %c c) %d d) %x 4. The include does not begin without a sign of: a) S b) != c) @ d) # 5. This object in MS-Access is considered as the primary object: a) Table b) Query c) Form d) Report 6. The primary key of another related table is called: a) Candidate key b) Foreign key c) Alternate key d) Composite key 7. This database is used to display and print your data in an organized loop manner: a) Record b) Field c) Report d) Table 8. This keyword is used to exit from the switch statement: a) Default b) Case c) Break d) Else 9. This is called the address operator: a) & b) % c) && d) | 10. This function is used to clear the screen: a) clrscr( ) b) clear ( ) c) Cls d) acos( ) 11. Multiple increment expressions in a for loop expression are separated by: a) < b) , c) : d) ; 12. Case statement is used with: a) printf() b) scanf() c) switch() d) getch() 13. This is not an arithmetic operator: a) <= b) + c) - d) / 14. An external variable is defined: a) In the first function that uses it b) In any function that uses it c) Outside of any function d) In main() only 15. The scope of this type of variable is not limited: a) Local variable b) External/global variable c) Integer variable d) Float variable CODE NO COMP-02
PRELIMINARY EXAMINATION 2023 – 24 COMPUTER – II Date: 23-04-2024 Time: 20 Minutes Max. Marks: 15 SECTION “A” (MULTIPLE CHOICE QUESTIONS) Q#1 Choose the correct answer from each question. 15 1. Three types of control structures are: a) Initialization, condition, increment b) Sequential, selection, iteration c) Sequential, selection, conditional d) Initialization, condition, decrement 2. This is the output of 22 % 3: a) 3 b) 1 c) 22 d) 0 3. This statement is incorrect in C: a) int a; b) float b; c) double e; d) character e; 4. Comments or remarks can be placed anywhere within a program as long as they are placed within delimiters: a) By braces and asterisks b) By asterisks c) By parenthesis and asterisks d) By slashes and asterisks 5. The primary key in a Database is: a) Unique b) Duplicate c) Null d) None 6. The compiler cannot detect this error: a) Runtime b) Logical c) Absolute d) Syntax 7. This operator operates on only one operand: a) = b) == c) && d) ! 8. The function designed specifically to read a string from the keyboard: a) getch() b) puts() c) gets() d) getchar() 9. This function is used to write onto the computer screen in C: a) printf() b) main() c) clrscr() d) getch() 10. This is a correct statement: a) #include (stdio.h) b) #include >stdio.h< c) #include d) #include 11. This function is used to clear the screen: a) clrscr () b) clear() c) cls d) acos() 12. This keyword is used to exit from the switch statement: a) Default b) Case c) Break d) Else 13. This operator has the lowest precedence: a) ++ b) % c) < d) && 14. The function scanf() reads: a) Any possible number b) Any variable type c) A single character d) A character and a string 15. This is the format specifier of the "int" variable: a) %f b) %c c) %d d) %x CODE NO COMP-03
PRELIMINARY EXAMINATION 2023 – 24 COMPUTER – II Date: 23-04-2024 Time: 20 Minutes Max. Marks: 15 SECTION “A” (MULTIPLE CHOICE QUESTIONS) Q#1 Choose the correct answer from each question. 15 1. A relational operator is used to: a) Change variable to logical values b) Compare values c) Distinguish different types of variables d) Combine values 2. The escape sequence is used with: a) Tab b) Backslash c) End of string d) New line 3. The include does not begin without a sign of: a) S b) != c) @ d) # 4. This is called the address operator: a) & b) % c) && d) | 5. This function is used to clear the screen: a) clrscr() b) clear () c) cls d) acos() 6. Loop with in the loop is called: a) Nested loop b) Continuous loop c) inner loop d) outer loop 7. This function is used to write onto the computer screen in C: a) printf() b) main() c) clrscr() d) getch() 8. This is a correct statement: a) #include (stdio.h) b) #include >stdio.h< c) #include d) #include 9. The primary key of another related table is called: a) Candidate key b) Foreign key c) Alternate key d) Composite key 10. This object in MS-Access is used to display data in a printed form: a) Form b) Query c) Report d) Table 11. An external variable is defined: a) In the first function that uses it b) In any function that uses it c) Outside of any function d) In main() only 12. This format specifier is used for exponential notation: a) %x b) %e c) %xd d) %d 13. This subdirectory contains header files: a) bin b) lib c) include d) bgi 14. Every C program must have this function. a) Recursive b) input/output c) main () d) printf() 15. library routines are attached to object program through: a) compiler b) linker c) assembler d) interpreter CODE NO COMP-04

Related document

x
Report download errors
Report content



Download file quality is faulty:
Full name:
Email:
Comment
If you encounter an error, problem, .. or have any questions during the download process, please leave a comment below. Thank you.