0% found this document useful (0 votes)
15 views29 pages

CHAPTER8 Merged

The document consists of multiple-choice questions covering topics related to charts in Calc, problem-solving techniques, and an introduction to the C programming language. It includes questions on chart types, problem classification, flowchart symbols, C language syntax, and constants. Each section is designed to test knowledge and understanding of the respective subjects.

Uploaded by

Presha Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views29 pages

CHAPTER8 Merged

The document consists of multiple-choice questions covering topics related to charts in Calc, problem-solving techniques, and an introduction to the C programming language. It includes questions on chart types, problem classification, flowchart symbols, C language syntax, and constants. Each section is designed to test knowledge and understanding of the respective subjects.

Uploaded by

Presha Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

Std.

10th Sub : Computer


CHAPTER-8
CHARTS IN CALC
1. A chart is also considered as a _____ presentation of numerical data.
A graphical B numerical
C textually D None of these
2. To prepare a chart, one needs to have _____.
A Basic knowledge about various B Concept underlying the chart
charts patterns
C Their applications D All of them
3. Which type information user should provide to prepare a chart?
A When to use a particular type of B What information it conveys and
chart what support it provides
C Which type of decision can be D All of them
made using such chart
4. According to the _____ a chart type should be selected.
A Nature of applications B Requirements
C (A) and (B) D None of them
5. Charts are used for _____.
A Telling history B Evaluate alternatives
C Presenting trends or find out D All of them
exceptional cases
6. Charts are useful for _____.
A For comparisons B For demonstrations of distribution
C For understating of situation; D All of them
analysis of trend over the time
7. Which of the following is the first step to prepare chart?
A Data B number
C Table D All of them
8. Which menu command is used to insert a chart in a worksheet?
A File  Chart B Tools  Chart
C Insert  Chart D Format  Chart
9. What should be selected after entering data?
A data range B chart
C title D None of them
10. How many steps are there in Chart wizard?
A 2 B 3
C 4 D 5
11. Which of the following is part of chart wizard?
A Chart type B Data range
C Data series, Chart alignment D All of them
12. Which of the following is main components of chart?
A List of steps involved in setting up B List of chart types and Preview of
the chart; chart types
C Options for each chart type and D All of them
options to proceed further or going
back and modify the choices
13. Which of the following is a Chart type?
A Column Chart B Bar Chart
C Pie Chart D All of these

A real friend is someone who walks in when the rest walks out Page 1 of 2
14. In which option 3D Chart option is visible?
A Column or Bar Chart B Pie Chart
C Area Chart D All of them
15. The marks of quizzes are considered as a data series and a _____ colour is chosen
automatically.
A Red B Breen
C Blue D Yellow
16. The _____ is the horizontal plane which provide base to the chart elements.
A Chart Wall B Chart Floor
C Chart Legend D None of them
17. In which type of chart, chart floor is quite useful?
A Bar B Column
C (A) and (B) D None of them
18. Which toolbar is used o create a chart?
A Standard toolbar B Formatting toolbar
C Drawing tool bar D None of them
19. Which of the following facility is provided by Chart Wall?
A Change border properties such as B Type of border, colour of border
visible or invisible border
C Thickness (weight) of the border, D All of them
change area colour, degree of
transparency
20. What should be done to pull out a portion of the pie chart?
A Drag B click
C right click D left click
21. _____ can be used if complete path of the document is not remembered.
A Apply B Browse
C Back D Target
22. Provide target within the destination document using the _____ option.
A Target B Apply
C Browse D Link
23. To link the selected chart to a new document _____ option should be selected.
A Internet B Mail & News
C Document D New document
24. Which option is available in New Document option?
A File B File type
C (A) and (B) D None of them
25. Which type of files can be created using File Type option?
A Spreadsheet B Word processor
C Drawing D All of them

A real friend is someone who walks in when the rest walks out Page 2 of 2
Std. 10th Sub : Computer
CHAPTER-9
PROBLEM AND PROBLEM SOLVING
1. Into how many types the problems can be classified?
A One B Two
C Three D Four
2. Which of following is the types of problems?
A well defined B ill–defined
C (A) and (B) D None of these
3. Using what any problem can be solved?
A. Define the problem and identify the input, output and constraint of the problem.
B. Identify different alternatives of solving the problem.
C. Prepare detailed stepwise instruction set of the identified alternative. compute results
using this instruction set and check correctness of the answer obtained
D. All of them
4. The generalized solution to the problem can be obtained using which techniques?
A Pseudo code B Flowchart
C Algorithm D All of them
5. What is pseudo code?
A Fake B simulated
C (A) and (B) D None of them
6. A _____ is a technique in which we use pictorial representation of every action that
we perform within the machine process that solves a problem.
A pseudo code B flowchart
C Algorithm D None of them
7. A _____ is used to represent a flowchart.
A set of symbols B triangle
C square D None of these
8. The symbols are also called _____ of flowcharts.
A attribute B tag
C components D value
9. The Start and End components are represented by an _____ an shape.
A triangle B square
C Oval D rectangle
10. The oval shape symbol is also called _____ symbol.
A Terminal B last
C (A) and (B) D None of these
11. Where the given symbol is used in flowchart?
A start B end
C (A) and (B) D None of these
12. What is used to represent start and end in flowchart?
A oval shape B parallelogram
C Arrow D diamond shape
13. Which of the following symbol is used for input and output in flowchart?
A B
C  D
14. An is used to show the sequence of the actions that are to be performed.
A  B 
C  D 
15. Process is the _____ part of any solution procedure.
"A prudent question is one-half of wisdom." Page 1 of 2
A Optional B core
C any D None of them
16. Logical operations generally help in ______.
A answer B decision making
C loop D nested loop
17. A logical decision of a process is represented by a ______ shaped symbol.
A Oval B rectangle
C Triangle D diamond
18. Which of the following symbol is used for decision?
A B
C D √
19. Diamond shape is also known as_____.
A logical decision of a process B test symbol
C (A) and (B) D None of them
20. For what decision box is used?
A We want to alter the normal B sometimes we may require more
sequence of the solution than two alternative to take a
decision
C (A) and (B) D None of them
21. “Provides us a facility to compare them accurately” – it is advantage or disadvantage
of using flowchart?
A advantage B disadvantage
C (A) and (B) D None of these
22. In computer science, an algorithm refers to a step by step procedure for solving a
particular problem.
A Flowchart B Algorithm
C Looping D Nesting
23. Which of the following statement is true for algorithm?
A Written in a natural language like B Written once then can be easily
English converted into computer programs
C (A) and (B) D None of them

"A prudent question is one-half of wisdom." Page 2 of 2


Std. 10th Sub : Computer
CHAPTER-10
INTRODUCTION TO C LANGUAGE
1. Which language computer dose not understand?
A language speak by human beings B programming language
C (A) and (B) D None of them
2. Which language computer can understand?
A 0 and 1 B (A) and (C)
C I and II D None of them
3. The process of converting one language to anther is known as _____.
A Translation B compiler
C translator D program
4. The problem of computers not understanding our language is solved by using software
programs called _____.
A Translation B translator
C Paint D language convertor
5. In computer, translator is known as _____.
A Compiler B intermediator
C Convertor D None of them
6. Which type of program SciTE is?
A Graphical B Editor
C Keyword D None of them
7. Which type of function main() is?
A Inbuilt B user defined
C Keyword D constant
8. Which type of function printf() is?
A inbuilt B user defined
C Library D (A) and (B)
9. _____functions are the functions that a user creates as per his or her requirement.
A User defined B Inbuilt
C Library D None of them
10. The execution of every C program starts from the first open _____ bracket when
main() is encountered.
A curly ({}) B square ([ ])
C round (()) D None of them
Documentation Section
11. Which section is an optional section?
A Documentation section B Symbolic Constant Definition
C File include section D All of these
12. Text is enclosed between _____, it is considered as a comment in C.
A [* and *] B /* and */
C */ and /* D { and }
13. Which of the following is not processed by C complier and are left as it is?
A Comment B Symbolic Constant Definition
C File Include Section D printf()
14. #define is also known as ______.
A post process directive B pre processor directive
C PI variable directive D Symbolic directive
15. Which of the following is inbuilt or library function?
A pow() B printf()

"A prudent question is one-half of wisdom." Page 1 of 4


C sqrt() D All of them
16. The extension of header files is _____.
A .h B .hea
C .header D .C
17. Which of the following is correct syntax to include header files?
A # include < filename.h> B # include (filename.h)
C @include <filename.h> D None of them
C Character Set
18. In C, the characters can be divided into _____ categories.
A 2 B 3
C 4 D 5
19. ‘Blank spaces’ falls in which category?
A Letter B Digits
C White spaces D None of them
Variable
20. The data within the memory space is referred by a name known as_____.
A variable B keyword
C token D function
21. Which of the following variable is not valid in C language?
A Double B INTEREST
C _ file D 1omark
Integer Constant
22. Integer constant refers to _____ numbers.
A whole B real
C (A) and (B) D None of these
23. How many types of integer constants are there?
A 2 B 3
C 4 D 6
24. Decimal constant use _____.
A 0 to 9 B 0 to 7
C 0 to 9 and A to F D 0 and 1
25. Octal constant use _____.
A O to 9 B 0 to 7
C 0 to 9 and A to F D 0 and 1
26. Hexadecimal constant use _____.
A 0 to 9 B 0 to 7
C 0 to 9 and A to F D 0 and 1
27. The base of _____ number is 16.
A decimal B octal
C hexadecimal D None of them
28. The base of _____ number is 8.
A decimal B octal
C hexadecimal D None of them
29. In which the number is prefixed by Ox and Ox?
A Decimal B Octal
C Hexadecimal D None of them
30. In which the number is prefixed by O?
A Decimal B Octal
C Hexadecimal D None of them
31. Which of the following is not an valid integer constant?
A OxB5 B OX79

"A prudent question is one-half of wisdom." Page 2 of 4


C O45 D OxG
Real Constant
32. Which of the following is not an valid integer?
A 096 B -100.0
C 25,000 D 79999L
33. _____ refer to decimal numbers that have fractional part.
A Integer constant B Textual constant
C Real constant D None of them
Single Character Constant
34. A ____ is represented by using single character enclosed within single quotes.
A Single character constant B string constant
C (A) and (B) D None of them
35. Each character constant is associated with a numeric value known as_____.
A ANSI B UPS
C NASA D ASCII
String Constant
36. String constants are denoted by using sequence of characters enclosed within _____.
A single quotes B double quotes
C triple quotes D None of them
37. Character ‘V’ will be allocated _____ memory space.
A 1 B 2
C 3 D 4
38. In C language, string always ends with _____ character.
A null character ’\0’ B slash character ‘\\’
C dollar ‘\$’ D None of them
Symbolic Constant
39. _____ constant can be defined using symbolic identifier.
A Numeric B Character
C (A) and (B) D None of them
40. Which of the following syntax is correct to define a symbolic constant?
A # define identifier value B # define value identifier
C # include identifier value D # define identifier = value
41. #define identifier value
In above statement which of the following is known as a preprocessor directive?
A # define B identifier
C value D None of them
Execution of C Program
42. _____ can be used to write C program.
A Print B Text editor
C Access D Excel
43. A program written using any text editor is known as _____.
A source code B source program
C (A) and (B) D None of them
44. The extension of the source file written in C language is _____.
A .c B .h
C .p D .k
45. After writing program, compile the source program using a _____.
A editor B paint
C compiler D header file
46. A program called linker is used to link the object code with the library functions
giving _____.
"A prudent question is one-half of wisdom." Page 3 of 4
A executable program B executable code
C (A) or (B) D None of them
47. Finally executable code is loaded on to memory by a program called _____ along with
the data required to give us the output.
A linker B debugger
C loader D translator
History of C
48. The origin C has been dated back to _____ in Bell laboratories.
A 1971 B 1972
C 1981 D 1983
49. The origin of C has been dated back to 1972 in _____.
A Dell B Bell
C Cell D Sell
50. The man who owns the credit of creating C language is _____.
A Dennis K. Ritchie B Dennis N. Ritchie
C Dennis G. Ritchie D Dennis M. Ritchie
51. C language was derived from _____.
A BCPL B BPCL
C BLCP D BLPC
52. What is the full form of BCPL?
A Basic Combined Programming B Beginners Combined Programming
Language Language
C Basic Combined Practice D Basic Combined programming
Language Logic
53. The aim of developing C was to build _____ system software.
A graphic B robust
C word processor D None of them
54. Although born in1972, it was standardized in _____.
A 1985 B 1989
C 1991 D 1995
55. Although born 1972, it was standardized by _____.
A ANSI B ANSI CPP
C GPPL D BCPL C
56. C is a _____language.
A Structured B Non structured
C (A) and (B) D None of them
57. What we can say 0.2575 in 0.2575e2 scientific notation?
A mantissa B exponent
C (A) and (b) D none of them
58. What we can say 2 in 0.2575e2 scientific notation?
A mantissa B exponent
C (A) and (B) D none of them

"A prudent question is one-half of wisdom." Page 4 of 4


Std. 10th Sub : Computer
CHAPTER-11
DATA TYPES, OPERATOR AND EXPRESSION IN C LANGUAGE
1. An identifier is associated with its data type by using the _____ syntax.
A datatype identifier; B identifier datatype;
C datatype; D None of them
2. What is the range of ‘int’ datatype?
A -2147483648 to +21474836411 B -214713846 to +2147183811
C 0 to 255 D None of them
3. To allocate only positive values in C language _____ keyword is used.
A signed B define unsigned
C unsigned D define signed
4. Which of the following is correct syntax to allocate positive values?
A unsigned roll_number; B signed int roll_number;
C unsigned int roll_number; D signed int;
5. The range of integer numbers can be increased by using a prefix ____ with the integer
data type.
A Long B short
C Int D char
6. Adding long as a prefix to int allocates _____ bytes of memory to the variable.
A 2 B 4
C 8 D 16
7. Float datatype uses _____ bytes of storage space.
A 1 B 2
C 4 D 8
8. Float values are precise to _____.
A 6 B 7
C 8 D 9
9. Float values are precise to _____ decimal digits.
A 6 B 7
C 8 D 9
10. For higher precision _____ keyword is used rather than float.
A Double B triple
C Single D int
11. Double datatype use _____bytes.
A 1 B 2
C 4 D 8
12. Double values precise to _____.
A 8 B 16
C 32 D 64
13. Double datatype precise to _____ decimal digits.
A 8 B 17
C 34 D 48
14. How many bytes are reserved in memory by long double?
A 2 B 4
C 8 D 16
15. What is the range of float data type?
A +/-3.4 e -38 to +/3.4 e +38 B +/-1.7 e -308 to +/1.7 e +308
C +/-3.4 e -4932 to +/-1.1 e + 4932 D -2137483648 to +2147483647
16. What is the range of double data type?

"A prudent question is one-half of wisdom." Page 1 of 5


A +-/ 3.4 e -38to +/-34 e +38 B +/-1.7 e -308 to +/1.7 e + 308
C +/-3.4 e -4932 to +/1.1 e + 4932 D -2137483648 to +2147483647
17. In 0.9550e2, 2 is known as _____.
A Exponent B mantissa
C Power D None of them
18. What is the full from of ASCII?
A American Standard Code for B American Standard Code for
information Interchange Information Interchange
C American Standard Code for D None of them
Internal Information
19. How much memory space is occupied by ‘char‘ data type?
A 1 B 2
C 4 D 8
20. What is the range of ‘char’ data type?
A -128 to +127 B -127 to +128
C 0 to 255 D -255 to 0
21. What is the range of unsigned char?
A -128 to +127 B -127 to +128
C 0 to 255 D -255 to 0
22. What is the ASCII value of small ‘m’ and capital ‘M’?
A same B different
C can’t say D None of them
23. Which of the following denote it to be empty?
A void B empty
C float D int
24. If _____ statement is not written then a warning message “Function Should return a
value” will appear.
A return 0; B int a = 0;
C function = 0; D None of them
25. Which of the following syntax is correct to assign a value to variable?
A variable = value: B variable = value;
C variable value; D None of them
26. Which of the following is an example of derived datatype?
A Array B Structure
C Union and Pointer D All of these
27. _____ data structure consists of group of variables having same property.
A Array B Structure
C Union D Pointer
28. Which of the following is the correct syntax to declare array?
A datatype variable[size]; B array variable[size];
C array size; D None of them
29. Based on the operands used in the expression, the arithmetic can be categorized
as_____.
A Inter arithmetic B Real arithmetic
C Mixed mode arithmetic D All of them
30. Arithmetic is considered to be _____ arithmetic when the operands used in the
expression are positive or negative whole numbers.
A integer arithmetic B real arithmetic
C mixed mode arithmetic D All of them
31. The result of integer arithmetic is always _____.
A integer B real
C (A) and (B) D None of them

"A prudent question is one-half of wisdom." Page 2 of 5


32. If all the operands used in an expression are float the expression is called _____
expression.
A integer B real
C mixed mode D None of them
33. The result of real arithmetic is always represented in _____ values.
A decimal B integer
C text D None of them
34. Which of the following is the syntax for short hand operator?
A variable op= constant value; B variable op= expression;
C variable = constant value; D (A) and (B)
35. In C language, _____ is known as short hand operator.
A op= B =op
C = D op
36. Which operators allow us to compare two similar types of operands and generally are
used to change the flow of execution of program.
A relational B conditional
C logical D bitwise
37. How many relational operators are provided by C?
A 2 B 4
C 6 D 8
38. In C, which operator, check equality between two operands?
A == B =.>
C <= D !=
39. In C, which operator, check non equality between two operands?
A == B !=
C > D <
40. Which operators is used in C language to increase/decrease value of variable by 1?
A ++ B __
C // D (A) and (B)
41. In C language ++ is known as _____ operator.
A increment operators B decrement operator
C plus operator D addition operator
42. When “++” is prefix to variable then it is known as _____.
A pre increment B pre decrement
C post increment D post decrement
43. When “ – “ is prefix to a variable then it is known as _____.
A pre increment B pre decrement
C post increment D post decrement
44. When “++” is suffix to a variable then it is known as _____.
A pre increment B pre decrement
C post increment D post decrement
45. When “ – “ is suffix to a variable then it is known as _____.
A pre increment B pre decrement
C post increment D post decrement
46. C provides us an operator known as _____ for condition checking.
A conditional operator B assignment operator
C relational operator D bitwise operator
47. C provides us an operator known as _____ for condition checking.
A ternary operator B conditional operator
C relational operator D (A) and (B)
48. Which of the following is the correct syntax for using conditional operator?
A (condition) ? (True statement) : B (condition) ? (False statement) :

"A prudent question is one-half of wisdom." Page 3 of 5


(False statement); (True statement) :
C (condition) : (True statement) ? D None of them
(False statement);
49. Which symbols are required for using conditional operator?
A ?: B ?;
C ;; D @;
50. Which logical operator is used when all the given conditions must be satisfied?
A AND B OR
C NOT D None of them
51. Which logical operator is used when any one of the given conditions must be
satisfied?
A AND B OR
C NOT D None of them
52. Logical expression gives as an output values _____.
A 0 or 1 B only 1
C only 0 D None of them
53. In C language which operator is used for Logical AND?
A && B ||
C ! D None of them
54. In C language which operator is used for Logical OR?
A && B ||
C ! D None of them
55. In C language which operator is used for Logical NOT?
A && B ||
C ! D None of hem
56. Data is stored in the form of _____within the memory location.
A Bit B Byte
C MB D GB
57. C allows us to operate directly at bit level using _____.
A memorywise operator B bitwise operator
C logical operator D None of them
58. In C language which operator is used for Bitwise AND?
A & B |
C ~ D ^
59. In C language which operator is used for Bitwise OR?
A & B |
C ~ D ^
60. In C language which operator is used for Bitwise NOT?
A & B |
C ~ D ^
61. In C language which operator is used for Bitwise Exclusive OR?
A & B |
C ~ D ^
62. C provides special operators like _____.
A sizeof(), “,” B ‘.’, ‘  ’
C ‘&’, ‘*’ D All of them
63. Which special operator used to return size of bytes required to store an entity?
A sizeof( ) B size()
C sizeofmem() D memsize()
64. size = sizeof(int );
What is the value of size in the above statement?
A 1 B 2

"A prudent question is one-half of wisdom." Page 4 of 5


C 4 D 8
65. Arrange the following operators in their order of the priority?
sizeof(), %, +, ()
A (), sizeof(), % ,+ B sizeof(), %, +, ()
C %, sizeof(), +, D % ,+, (), sizeof()
66. To override the internal conversion by performing a process called _____.
A type casting B conversion
C constant D None of them
67. Which of the following syntax is correct for type cast?
A (datatype) variable B (datatype) constant
C variable (datatype) D (A) and (B)
68. The variables used in C program are generally stored in _____.
A primary memory B secondary memory
C flash drive D None of them
69. C language provides us storage class _____,
A automatic, static B external
C register D All of them
70. All the variables by default have storage class as _____.
A automatic B external
C register D static
71. To explicitly define the variable as automatic, we use the keyword _____.
A auto B static
C explicit D None of them
72. Syntax which allows us to define an automatic storage class for a variable is _____.
A auto identifier; B auto datatype identifier;
C auto datatype; D None of them
73. Variable which are created automatically when the function is called and destroyed
when the function returns the control back to the calling function are by default are
assigned a _____.
A garbage value B zero
C one D None of them
74. Use storage class _____ to share variables between two different functions or
programs.
A automatic B external
C static D register
75. It is necessary thought that variable must be defined as _____ variable in at least one
program.
A automatic B global
C local D None of them
76. What is the default value of external variable?
A 0 B 1
C infinite D None of them
77. The _____ storage class when used along with variable makes the variable value
permanent within a specified region.
A auto B extern
C register D static
78. Which of the following syntax allows us to define a static storage class for a
variable?
A static datatype identifier; B static datatype;
C static identifier; D None of them;

"A prudent question is one-half of wisdom." Page 5 of 5


Std. 10th Sub : Computer
CHAPTER-12
USING I/O OPERATIONS
1. Input means ?
A To print the value B To store the value
C To enter the value D None
2. Output means ?
A To print the value B To store the value
C To enter the value D None
3. How many functions are available for input ?
A 2 B 4
C 3 D 5
4. Which of the following is input function ?
A Getch() B Getchar()
C Get() D Getc()
5. what is called the result received from computer?
A Input B Output
C Outlook D Result
6. How many character will accepted by getchar() ?
A Two B More than two
C One D None
7. getchar() is include in which header file ?
A <stdio.h> B <conio.h>
C <math.h> D <string.h>
8. In which function we cannot see the character on screen ?
A Getch() B Getche()
C Getchar() D None
9. putchar( ),putc( ),puts( ),printf( ) etc. are known as which function?
A Internal input function B Internal output function
C Relational function D String function
10. which function is used to send single character at a time to output device?
A Putc( ) B Puts( )
C Putchar( ) D Printf( )
11. Which function takes more than one character from screen ?
A Getc() B String()
C Getchar() D Gets()
12. which function is used for the formatted output?
A Putchar( ) B Printf( )
C Puts( ) D Putc( )
13. Which function generally used to get values from user ?
A Scanf() B Readln()
C Scan() D Get()
14. what is called the group of character?
A Group B Character group
C String D Onteger
15. printf() is known as ?
A Formatted output B Standard output
C New output D Output
16. which function is used to read file from the disc?
A Gets( ) B Getch( )

"A prudent question is one-half of wisdom." Page 1 of 3


C Getc( ) D getd( )
17. what is called the function and reading data from key-board disk etc.
A Output B Process
C Input D Outlook
18. What is called the function of reading data from key-board, disk etc.
A Output B Process
C Input D Outlook
19. What is called the printing of processed data on computer screen or printer?
A Outlook B Process
C Input D Output
20. Input and output process is known as which operation
A I/ O B O/I
C I/U D U/I
21. What is called the process of assigning value to the variable?
A Valuelisation B Initialization
C Selectional D Relational
22. What is called the process of assigning value to the variable at the time if execution of
programme?
A Output B Input
C Outlook D Process
23. In ‘c’ language how string is enclosed with?
A Double quote B Single quote
C Without quote D None
24. What is only acceptable by the functions; getchar( ), getch( ) and getc( )?
A Only number B Only character
C Number and character D Only sign
25. Till the user does not press, enter key, for acceptance which function has to be used?
A Gets( ) B Getc( )
C Getd( ) D Getf( )
26. What is called the result received form computer?
A Input B Output
C Outlook D Result
27. What is called monitor, printer as well as subsidiary storage device?
A Device B Input device
C Output device D Outlook device
28. Which function has to be used to send data to output device in ‘c’ language?
A Library B Relational
C Selectional D Integer
29. Putchar( ), putc( ), printf( ), puts( ) etc. are known as which function?
A Internal input function B Internal output function
C Relational function D String function
30. which is the normal form of specification used in control string?
A %1pm B %1.mp
C %m.1p D %p.ml
31. In c, the____ string specifies the format in which the values of the variables are to be
stored.
A Control B Input
C Output D Null
32. ___ means to write processed data to the output devices like monitor, printer, etc.
A Output B Input
C Date D Information
33. What can be assigned to a variable with the help of assignment operator?

"A prudent question is one-half of wisdom." Page 2 of 3


A Value B Software
C Data type D None of them
34. Which function writes a writes a string to an output device?
A Put string ( ) B Puts( )
C Putstr( ) D None of them
35. The ____ is obtained on the output devices like monitor, printer, etc.
A Output B Input
C Data D Information
36. The value assigned to the variable for the first time, is called the ___
A Initial value B initialization
C assign a value D none
37. ____ means to write processed data to the output devices like monitor, printer etc.
A Input B output
C process D none
38. A string in C always ends with a ____ character.
A empty B Null
C space D white space
39. ____ Function is used to read a string.
A Gets(variable name) B Variable _name = gets
C gets (Variable name) D none
40. getchar( ), getch( ), getc and getche( ) etc functions can accept only a ___
A string B word
C character D number
41. Using ____ function we can key in character but it is not visible on the screen.
A getchar ( ) B getch ( )
C getche( ) D getc ( )
42. The function ___ accepts the character form a file.
A getchar () B getch ( )
C getche ( ) D getc ( )

"A prudent question is one-half of wisdom." Page 3 of 3


Std. 10th Sub : Computer
CHAPTER-13
DECISION STRUCTURE

1. How many ways are there in which we can use IF() ?


A 2 B 4
C 3 D 1
2. To check any condition then we have to use ?
A For() B IF()
C Next() D Check()
3. In which IF() statements will executed if condition is true and no false
condition?
A If-else B Nested IF
C Both(A) and (B) D Simple IF
4. Instead of IF() C has which other control structure ?
A Nested if B Case
C Both (A) and (B) D Switch
5. How we can come out from the execution of statement ?
A Stop B Exit()
C Exit D Out
6. To write more than one statement after IF condition we use
A () B []
C {} D None
7. To check more than two condition we have to use
A Simple if B If-else ladder
C Both D None
8. In IF, condition is true then which statements will be executed ?
A Before if B After if
C After else D None
9. To use of IF condition inside the IF condition is known as ?
A If ladder B If
C More if D Nested if
10. Which are selective statements are provided by C ?
A If B Switch
C both D None
11. How many arguments switch require ?
A 2 B 1
C Depends D None
12. Which command is used to come out from switch statements ?
A Exit B Out
C Stop D Break
13. Which is also known as built-in multi-way decision statements ?
A Switch B If
C Nested if D None
14. Which keyword is used in switch ?
A Argument B Switch
C Value D Case
15. What we have to give after every case keyword ?
A Variable B Expression
C Both D None

"A prudent question is one-half of wisdom." Page 1 of 4


16. To come out from any case what is used ?
A Come out B Exit
C Break D None
17. Expression used with switch must be
A Integer , character B Character, string
C Real, integer D Any data
18. Which data type is generally used with switch statement ?
A String B Char
C Long D Double
19. If all the given case are false then statements executed after ?
A Except B Standard
C Al of above D Default
20. Decision structures are also known as ?
A Selection B Selected
C Selective D None
21. Statements written in { } are called as ?
A Design B Statement
C Nothing D Block of statement
22. In which structure statements are executed on basis of criteria ?
A Control B Do
C Standard D Decision
23. Multiple statements in If are written in
A () B []
C {} D No brackets
24. In which statement when all condition are false then it will default will
execute ?
A Switch B If
C Default D Condition
25. In IF conditions are always written in ?
A [] B {}
C Without brackets D ()
26. In switch block of statements will start with ?
A ; B ““
C : D None
27. in switch block of statements will ends with ?
A Default B }
C Case D All of above
28. Statements written in { } are known as ?
A Unique statement B Compound statements
C Multiple statements D None
29. In IF when expression comes to 0 then it means ?
A True B Null
C False D None
30. In IF when expression come to 1 it means ?
A Condition false B Condition true
C Null D None
31. What is optional in switch ?
A Case B Switch
C Default D None
32. Condition are executed in which order ?
A Middle to bottom B Bottom –to top
C Top –to bottom D None

"A prudent question is one-half of wisdom." Page 2 of 4


33. Which sign is used in Switch after case ?
A , B . C ; D :
34. Total how many decision structures are there ?
A 3 B 4 C 2 D NONE
35. The answer of IF statements will be in which sign ?
A [] B () C {} D NONE
36. the switch statement can be replaced by____
A If B If….else
C Else if ladder D Nested if
37. in compound statement, one or more statement should be enclosed within
pairs of brackets,
A () B []
C {} D none
38. which is known as tow way branch statement ?
A Nested if B Simple if
C If.. else ladder D Switch
39. in switch statement, _____and ____are optional.
A Break,default B If,else….if
C Else,if D Ladder, continue
40. from the following, case label can not be____
A Integer constant B Whole number
C Label D Both(a) and (b)
41. With which another name decision structure is known as?
A Selective structure B Result structure
C Primary structure D Ultimate structure
42. How many statement ‘c’ provided under selective structure?
A One B Three
C Four D Two
43. For the conditional transfer of decision making statement, which statement is used?
A Switch B If
C At D On
44. In how many ways if statement can be used?
A Three B Four
C Two D Five
45. Where the condition is written in; if statement?
A Outside the bracket B Inside the bracket
C Over the bracket D Below the bracket
46. After right parenthesis which sign is not used in if statement?
A Full point B Question mark
C Semicolon D Comma
47. when if statement is used in in another if statement what is it called?
A If.......else B Switch
C Nested if D If
48. The ____ statement has two blocks.
A Simple….if B Nested if
C If…else D Else-if ladder
49. The ____ statement is used to make multi-way decisions based on several conditions.
A Switch B It…else
C If D Else if ladder
50. C provides ___ statement under selective structures.
A 2 B 3

"A prudent question is one-half of wisdom." Page 3 of 4


C 4 D 1
51. In else if ladder statement, the conditions are evaluated ___ in ladder.
A Form bottom to top B From top to bottom
C From left to right D From right to left
52. When chain if statements is used only in else block of nested if statement, it
becomes___
A Else if ladder B Ladder…if
C Nested if D Ladder nested
53. Where should the default case appear in switch construct?
A Any where B In beginning
C At end D Middle
54. Which two selective structures do C provides?
A If, while B Do, for
C Switch, if D For, while
55. Which statement is most useful for taking action based on a selection of choice made
from multiple options?
A Nested if B Switch
C Else if ladder D None

"A prudent question is one-half of wisdom." Page 4 of 4


Std. 10th Sub : Computer
CHAPTER-14
LOOP CONTROL STRUCTURE

1. Loop means ?
A. execution of statements for one time
B. execution of statement for more than one time
C. no execution of statement
D. none
2. How many loops are there in C ?
A 2 B 4
C 3 D 1
3. Pick the odd one out in terms of loop of C ?
A For loop B Repeat… until loop
C Do loop D Do… while loop
4. Which of the following is syntax of for loop ?
A. for ([expression1]}
B. for ([expression1]: [expression2])
C. for ([expression1]: [expression2]:[expression3])
D. None
5. If we are not using any criteria in loop then it will be ?
A Not execute B Stop
C Not start D Endless
6. In syntax of for loop what is first expression about ?
A Assigning value to variable B Checking condition
C Increment D Decrement
7. In syntax of for loop what is second expression about ?
A Assigning value to variable B Checking condition
C Increment D Decrement
8. In syntax of for loop what is use of third expression ?
A Assigning value to variable B Checking condition
C Increment D Decrement
9. To execute more than one statement is known as ?
A Top of body B Block of statement
C Statements D None
10. In for, all the expression are separated by which sign ?
A @ B ;
C $ D :
11. These three expressions are ?
A Optional B Compulsory
C Fixed D None
12. If we want to write more than one statement then which brackets are used ?
A [] B {}
C No brackets required D ()
13. In third expression a++ means ?
A Increase value of a by 0 B Decrease value of a by 0
C Increase value of a by 1 D Decrease value of a by 1
14. When execution of for loop will be terminated ?
A Condition are not satisfied B When given condition satisfied
C Criteria not matched D None

"A prudent question is one-half of wisdom." Page 1 of 4


15. To transfer the control to outer loop which keyword is used ?
A Next B Continue
C Exit D Break
16. When we use more than one for it is known as ?
A Multiple for B Fors
C Nested for D None
17. Nested for is generally used to create ?
A Name B Patterns
C Tables D Symbols
18. In while when the condition is checked ?
A At last B In the beginning
C In between D None
19. While loop is also known as ?
A Controlled loop B Exit-controlled loop
C Infinite loop D Entry-controlled loop
20. Like while another example of entry controlled loop is ?
A For B Repeat
C If D Do..while
21. Which statements is compulsory in while loop ?
A No statement B Update
C Break D Continue
22. If we don’t write update statement then loop will be ?
A Infinite B Not start
C Not execute D None
23. Which loop is known as exit-control loop ?
A For B While
C Repeat D Do… while
24. In Do.. while loop condition checked at ?
A First B Between
C Last D Not checked
25. In do.. while if condition is false then statements will be executed ?
A One time B Two times
C Not execute D None
26. Which statement is used to jump from loop ?
A Jump B Break
C Continue D Next
27. With break statement we can exit from ?
A Two loops B All the loops
C Program D Current loop
28. To skip the following statement which keyword is used ?
A Break B Continue
C Program D Next
29. If we write continue statement in for loop then control passes to ?
A Inner loop B Outer loop
C Out of loop D None
30. In while and do..while if we use continue then it will pass to ?
A Out of loop B Out of program
C No effect D Test expression
31. Break and continue are which kind of statements ?
A Unconditional transfer control B Conditional transfer control
C Control D None
32. Which loop is used if we know number of iterations ?

"A prudent question is one-half of wisdom." Page 2 of 4


A While B Do… while
C Repeat D For
33. How many parts are there in For loop ?
A 3 B 4 C 5 D 2
34. In, for(I=5;I<=10;I++), how many times loop will continued ?
A 5 B 10 C 6 D ENDLESS
35. for(I=2;I<20;I+2), how many times loop will continued ?
A 9 B 10 C 11 D 5
36. A text expression shows____for false and___for true.
A 1,0 B 2
C 3 D 4
37. The_____symbol can be used to consider if statement null.
A ; B :
C “ D .
38. in for loop,____is used to check condition each time.
a Expression1 B Epression2
C Expression3 D all
39. The _____loop is more suitable to find sum of all numbers entered until user
enters number zero.
A For B If
C Do…while D repeat
40. ____is entry controlled loop.
A If B Do….while
C While D Repeat
41. which loop is usually used when the statements are to be executed repeatedly
for a fixed number of times?
A For B While
C Do….while D repeat
42. do….while is…….loop.
A Entry controlled B Outer controlled
C Exit controlled D Inner controlled
43. In…..loop, body of the loop will be executed at least once.
A Do….while B For
C While D if
44. A simple if statement ends with___
A , B ;
C : D None
45. for (x=0;x<10;x=x++)
printf(“%d”, x);
What will be the output if you define the variable x as into x?
A Error B 1 2 3 4 5…
C Program will run infinitely D none
46. In a for loop, ____ is used to increment or decrement a control variable.
A Statement-block B Expression 1
C Expression 2 D Expression 3
47. In ____ loop, condition always evaluates to ‘True’
A Finite B For
C Infinite D While
48. Which loops are preferred for unknown number of iterations?
A for, while B while, do…while
C Do... while, for D none

"A prudent question is one-half of wisdom." Page 3 of 4


49. Which statement skips the executing of its following statements in the body of the
loop in current iteration?
A continue B break
C both D default
50. The header of ‘for’ statement contains ____ expression.
A 1 B 2
C 3 D 4
51. The state statement - block in ‘for’ loop is also referred to as___
A body of the loop B control statement
C executable statement D none
52. Expression 3 in for loop is often used for___ a control variable.
A incrementing B decrementing
C both D none
53. The ____ loop is preferred for known number of iterations.
A while B for
C do…while D none
54. What will be the output of the following program?
int sub[50],i;
For(i=0;i<50;i++)
{ sub[i] = l;
printf(“\n %d”, sub[i]); }
A 1,2,3….48 B 0,1,2,3….49
C 0,1,2….50 D none
55. What will be the output of the following program?
int i = 10
while (i = 1)
{
printf(“%d” , i);
i = i+ 1;}
A 12 3…..10 B 10…..9……8…1
C 1 3 5….9 D none
56. In case of nested loops, the break would exit from
A one loop B all loops
C C program D none
57. In the ‘for loop’ construct, ‘continue’ statement transfers the control to ___ in the
header of the loop.
A inner loop B outer loop
C out of loop D none
58. C provides ___ types of loop structures.
A 1 B 2
C 3 D 4
59. The ____ loop is entry-controlled loop.
A while B do…while
C for…do D none

"A prudent question is one-half of wisdom." Page 4 of 4


Std. 10th Sub : Computer
CHAPTER-15
ARRAY
1. Generally how many value we can store in variable ?
A Two B Three
C One D No value
2. Array is also known as ?
A Variable B Group of values
C String D Group
3. How many types of Array ?
A 1 B 3
C 2 D 4
4. Pick the odd one in terms of types of Array?
A Single dimensional array B Two-dimensional array
C Both (A) and (B) D None
5. In Array data type of all the elements are ?
A Mix B Different
C Not fixed D Same
6. Which of the following is syntax of Array ?
A. Data type <variable name>[size];
B. <variable name> [size]
C. Data type <variable name>[size]
D. none
7. What is the meaning of [size] in terms of Array ?
A Useless B Minimum value
C Maximum value can store D None
8. Which of the following is right Array ?
A Int a[5]; B Char x[25];
C Int x[3][2]; D All of above
9. If we write int a[10]; means ?
A Minimum 10 values B 10 values in a of float type
C Maximum 10 values D 10 values in a of integer type
10. In Array what will be the first no of element ?
A Not fixed B 0
C Depends D 1
11. How many ways we can assign values to Array ?
A 2 B 1
C 3 D 4
12. Run time inilialization means ?
A Values at design level B Values at executing program
C Values at declaring array D Values at beginning of program
13. In Array strings are terminated by ?
A ‘A’ character B Any character
C Null character D None
14. Which data type we can use with Array ?
A Int B Float
C Char D All of above
15. If we write char name[5]; then how the index is given ?
A 0,1,2,3,4 B 1,2,3,4,5,
C 0,2,4,6,8 D 0,1,3,5,7

"A prudent question is one-half of wisdom." Page 1 of 3


16. To get the value at run time which function we have to use ?
A Printf() B Scanf()
C Display D accept
17. Which of the following is right to get integer value from user ?
A Scanf(“%d”,x[a]); B Scanf(“%a”,&x[a]);
C Scanf(“%a”,x[a]); D Scanf(“%d”,&x[a]);
18. To store the marks of different 5 students then which Array is used ?
A Two dimensional array B Single dimensional array
C Any type of array D None
19. In Two dimensional Array we can mention ?
A Rows B Columns
C Both (A) and (B) D None
20. What is the syntax of two dimensional array ?
A. Data type <variable name>[row_size][column_size];
B. Data type <variable name>[size];
C. Data type <variable name>[row_size],[column_size];
D. none
21. The values of array must be written in ?
A {} B []
C () D None
22. If we given less value in array, what it will st ore ?
A Any value B 0
C ‘A’ D 1
23. If we declare character array it is also known as ?
A Character B Array of char
C String D None
24. int x[ ] = {11,23,35,10,55}; statement, value____ will be assigned to x[2].
A 11 B 23
C 35 D 10
25. int a[2] [2] = {0,0,1,1}; statement ,____value will be assigned to a[1][0]
A 0 B 1
C 2 D 3
26. value of array is separated by which sign ?
A . B ,
C : D ;
27. what is the main aim of defining array ?
A To represent same type of data B To store single value
C To represent data type D To present the value
28. What is inserted as a default value in all elements of array ?
A 1 B 0
C Any value D None
29. Which are the first two numbers of array ?
A 1,1 B 0,0
C 0,1 D None
30. In the statement int a [5] = {3,15,25,7,10}; which of the following element will you
write to obtain 7?
A A [4] B A [5]
C A [3] D A [7]
31. Usually an array is used to represent___ data.
A Exact B Horizontal
C Processed D Tabular

"A prudent question is one-half of wisdom." Page 2 of 3


32. If we enter like “c?[!ao] [nu]? In criteria box than in the dynast we can see which of
the following word?
A Count B Cores
C None D All
33. Any field included in the expression must be enclosed in ___
A [] B #
C () D “ “
34. ____ can be defied as group of values having same data type.
A array B derived
C function D none
35. Array is used represent ____ data.
A columnar B justify
C tabular D group
36. ___ and ___ are types of array.
A single, Multidimensional B single, two
C one, two D none
37. ____ dimensional array has one or more rows and one or more columns
A 1 B 2
C 3 D multi
38. In int x [10], How many variables can be made?
A 10 B 9
C 11 D none
39. The values in the list here are separated by using ___
A : B ;
C ‘ D ,
40. String in C is terminated by ____ character.
A /n B /o
C /t D /v
41. The ___ of an array is optional.
A name B size
C length D none
42. The index in a subscripted variable be an integer, an integer constant or an expression
that returns___ value.
A real B integer
C character D void
43. At compile time initialization of an array, element are separated by___
A comma B semicolon
C colon D quotes

"A prudent question is one-half of wisdom." Page 3 of 3


Std. 10th Sub : Computer
CHAPTER-16
FUNCTIONS
1. To divide big program in small parts is known as ?
A Parts B Program
C Divisions D Functions
2. How many basic types of function are there in C ?
A 2 B 1
C 3 D 4
3. Functions already installed in C is known as ?
A Primary functions B Library functions
C String function D None
4. Which of the following is example of library function ?
A Sum() B Sqrt()
C Total() D None
5. To use functions like sqrt(), cos() we have to include which file ?
A <maths.h> B <mathematics.h>
C Not required D <math.h>
6. To use function related to string we have to include ?
A <str.h> B <strings.h>
C <string.h> D None
7. Which type of file is required to use functions ?
A Header B Standard
C Primary D None
8. Functions developed by user is known as ?
A Standard function B Derived functions
C User defined functions D None
9. To find out the error in program is known as ?
A Finding error B Debugging
C Error finding D Error
10. The functions are also known as ?
A Subprogram B Programs
C Procedure D None
11. In function what is the meaning of argument ?
A Taking the values B Storing the values In variable
C Passing the values to function D None
12. What is the meaning of writing data_type first in syntax ?
A Data type of variable B Data type of function
C Data type of arguments D Data type of returning answer
13. main() is known as ?
A Library function B User defined function
C Standard function D None
14. Function which is called is known as ?
A Standard function B Called function
C Calling function D None
15. How many categories are there of functions ?
A 4 B 2
C 1 D 3
16. Which of the following is not category of function ?
A. function with no arguments and no return

"A prudent question is one-half of wisdom." Page 1 of 2


B. function with no arguments and return value
C. function with arguments and return value
D. none
17. In which kind of function there is no communication between functions ?
A No arguments no return B Arguments no return
C Arguments and return D None
18. In which type of functions there is two way communication ?
A No arguments no return B No arguments and return
C Arguments no return D Arguments and return
19. The approach of partitioning a complex problem into set of sub-problems is
called_____
A Modeling B Modular approach
C Function D all
20. A function depending upon whether arguments are present or not or whether
value is returned or not may fall under ____ categories.
A 2 B 3
C 4 D 5
21. the variables declared in prototype is known as ?
A Parameters B Formal arguments
C Actual arguments D Standard arguments
22. The functions developed by the user for his or her individual purpose are known as
___ functions.
A Library B user defined
C array D none
23. If the value of x is 20 and y is 30, then the function call ans = mul( x,y); it becomes
ans = ____
A Multi (30,20) B mul (20,30)
C 20, 30 D none
24. ____ is needed when the function is defined after main ( ).
A function prototype B function used
C function called D none
25. ___ Set is a series of numbers.
A Fibonacci B prime
C odd D none
26. Fibonacci series developed by___
A Leonardo B E. F. Codd
C ANCI D Berry
27. How many types of functions are available in C?
A one B two
C three D none
28. Which file d we have to include for the of library function?
A header file B library file
C function file D none
29. The data type of function is void if if it returns only ____
A value B control
C both D none
30. A function depending upon whether arguments are present or not or whether value is
returned or not many fall under___ categories.
A 1 B 2
C 3 D 4

"A prudent question is one-half of wisdom." Page 2 of 2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy