Class 10th Computer chapter 2


Total Marks: 10

1. Scanf is a _______ in C programming language.
Keyword Libarty Function None of these
2. Which of the following is a valid character.
\"here\" \"a\" \'9\' None of these
3. What is true about C language
C is not a case sensitive language Keywords can be used as variable names All logical operators are binary operator None of these
4. A ________ is a device that takes data as input, processes that data and generates that output.
Interpreter Computer Compiler All of these
5. Programmer need a way to provide _________ and show ________ while writing programs.
Input , Output Access , Output Input , Input Output , Input
6. Each programming language has its keywords or standard library function for _________
Input operation Output Operation I/O operation All of these
7. C language offers ________ to display the output , and scanf function to get input from user.
Printf function getch function print function scan function
8. Printf is a built-in function in C programming language to show ________ on screen.
Information Data Input Output
9. Printf name comes from _________ that is used to print the formatted output on screen.
\"scanf formatted\" \"print formatted\" \"getch formatted\" \"printf formatted\"
10. All data types can be displayed with .
printf function printf function scanf function None of these