Computer Science 10th Class English Medium Chapter 2 Online Test With Answers

image
image
image

Computer Science 10th Class English Medium Chapter 2 Online Test

Sr. # Questions Answers Choice
1 Which of the following is called escape character which is associated with each escape sequence to notify about escape ? back slash (\) / ? :
2 In escape sequence first character is always __________ and the second character varies according to the functionality that we want to achieve: back slash (\) / ? :
3 Escape sequences consists of ________ characters: two three four five
4 Which of the following forces printf() to change its normal behavior ? escape sequence escape sequence esc
5 Escape sequences are used in printf function inside the: "and" 'and' :and: ,and;
6 In C language _______ is used as statement terminator: ; : , "
7 Which is identifier for compiler to identity the end of a line ? : : " '
8 Which library file include in header section of program, when using getch() function ? conio.h stdio.h math.h string.h
9 Which function is generally used to hold the execution of program because the program does not continue further until the user types a key ? read getch() input printf
10 In which function character entered by user does not get displayed on screen ? getch() <div><br></div><div>count</div> string printf
11 Which function used to read a character from user ? printf getch() count string
12 Format specifier is always preceded by: % = ^ $
Download This Set