Computer 10 Past Papers Grand MCQs Test

FBISE Computer 10 Past Papers Grand MCQs Test contains a total of 102 Multiple Choice Questions, each MCQ has 4 options. For more MCQs Tests visit our MCQs Tests Page.


Computer 10 Past Papers Grand MCQs Test

/102
85

Class 10 Computer Science
Past Papers Grand
Practice MCQs Test

1 / 102

1. The case block ends with:

2 / 102

2. Which operator has lowest precedence?

3 / 102

3.

4 / 102

4. Which of the selection structures tests only for equality?

5 / 102

5. What is the output of HTML tag X10 when used in a webpage?

6 / 102

6. Which logic gate is represented by the function, F = \(\widehat{xy}\) ?

7 / 102

7. Which one of the following is a valid statement for “For loop”?

8 / 102

8. Which part of the web address tells the server type of file is being requested?

9 / 102

9. How many bytes are set aside by the compiler for a variable of type ‘int’?

10 / 102

10. When the input to an inverter is LOW(0) the output will be:

11 / 102

11. A small circle in a flowchart represents:

12 / 102

12. What is the output of the following code?
for (int j=1; j<=3; j++) printf (“%d",j);

13 / 102

13. What is the output of the following code?
int i ;
for(i=1;i<=2;i++) printf (“\\n i=%d”, i);

14 / 102

14. Which one of the following gates has an output = A.B?

15 / 102

15. What is the output of following code segment after execution when a=1 and b=2?
if (a+b++<4) printf(“%d”, b); else printf(“%d”, a);

16 / 102

16. How many bytes are used for long int data type?

17 / 102

17. Which of the following structures allows a choice among various options?

18 / 102

18. Which logic gate is represented by the function =

(𝑥𝑦)

?

19 / 102

19. What is the output of the following code?
int a = 15;
float s = 5.50;
printf (“%f”, a/s);

20 / 102

20. What is the output of following code?
int a = 15;
float s = 5.50;
printf (“%f”, a/s);

21 / 102

21. Which symbol is used for processing in a flowchart?

22 / 102

22. Which statement is equivalent to “k = k + a;” ?

23 / 102

23. What is the value of “z” after evaluating the given expression where a = 5, b = 3?
z = b / 2 + b * 4 / b && b < a + a / 3

24 / 102

24. How many bytes are used for a variables of type float?

25 / 102

25. Which combination of logic gates is used to get a NOR gate?

26 / 102

26. Which statement is equivalent to “j=j+a;”?

27 / 102

27. Which symbol is used to represent Process/Processing in a flow chart?

28 / 102

28. What is the output of the following statement where value of a = 65?
printf(“%c = %d”, a,a);

29 / 102

29. In 'C' a variable name CANNOT start with:

30 / 102

30. What is the value of “z” after evaluating the given expression where x=10, y=3?
z = 4*++x ||--y

31 / 102

31. Which of the following HTML tags does not have a closing tag?

32 / 102

32. What is the output of following program code segment when a=-1 and b=2?
if(++a==0)
printf(“%d”,a+b);
else
printf(“%d”,b-a);

33 / 102

33. Which heading tag pair is used to show the smallest size heading in an HTML web page?

34 / 102

34. Which heading tag pair is used to display largest size heading in an HTML web page?

35 / 102

35. Which of the following is NOT a high-level language?

36 / 102

36. What is the output of following program code segment when a=2 and b=1?
switch (a+b)
{ case 1:
case 2:
case 3:
printf(“%d”,a+b);
break;
default:
printf(“%d”,a-b);
}

37 / 102

37. Which operator is an arithmetic operator?

38 / 102

38. How many logical operators are in C?

39 / 102

39. Which of the following refers to uploading of Web pages to Web server so that others can access it?

40 / 102

40. Which of the following is unary gate?

41 / 102

41. URL stand for:

42 / 102

42. Which of the following is the symbol for AND operator?

43 / 102

43. Which statement is used to exit from body of switch statement?

44 / 102

44. Which of the following is used as a conditional operator?

45 / 102

45. Which loop structure is most suitable when number of iterations/repetitions are known in advance?

46 / 102

46. Which one of the following is the most suitable for making two ways decision?

47 / 102

47. What is the range of numbers that can be stored in a variable of type float?

48 / 102

48. Which combination of logic gates is used to make a NAND gate?

49 / 102

49. Which loop structure is most suitable when the body of loop executes at least once, even the given condition at first iteration is false?

50 / 102

50. How many times “FBISE” will be displayed by the following code?
for (int i=1; i<10; i=+2) printf (“FBISE”);

51 / 102

51. Which of the following is valid data type that can be used as variable/expression in switch statement?

52 / 102

52. How many times “FBISE” will be displayed by the following code?
for (int i=1; i<10; i=+2) printf (“FBISE”);

53 / 102

53. Which of the following is an arithmetic operator?

54 / 102

54. Which of the following escape sequence is used to move the cursor at the beginning of the next line?

55 / 102

55. What is the output of following code segment after execution when a=10, b=-20
if (a>0&&b<0) printf(“%d”, a+b); else printf(“%d”, a-b);

56 / 102

56. Which escape sequence can be used to insert a Tab in “C” Language?

57 / 102

57. Which loop should be used when it is required to execute the loop at least once?

58 / 102

58. Which is a logical operator?

59 / 102

59. Which of the following is required to write a C program?

60 / 102

60. Which statement is equivalent to “k=k+1”?

61 / 102

61. The output will be 1 if all inputs are zero EXCEPT one input, is a case of:

62 / 102

62. Which of the following is called counter loop?

63 / 102

63. What is the maximum number of possible input combinations in a truth table that has three variables?

64 / 102

64. Which one of the following functions is used to read the string “Computer Science”?

65 / 102

65. Evaluate given expression 5 + 3 * 3 - 1

66 / 102

66. Which logic gate is represented by the function F = (X + Y) {Whole Bar on X+Y}?

67 / 102

67. How many bytes the long data type variable takes in memory?

68 / 102

68. Which symbol with the variable, refers to the memory location in the scanf() function:

69 / 102

69. The loop inside another loop is called:

70 / 102

70. What will be the output of (6 >7)? printf("ABC”):printf("XYZ”);?

71 / 102

71. Which inputs combination will produce HIGH output in an AND gate?

72 / 102

72. How many heading tags are there in HTML language?

73 / 102

73. What is the primary purpose of using a loop structure in a program?

74 / 102

74. Which language is used for creating Web pages?

75 / 102

75. Which of the following is the valid variable name?

76 / 102

76. How many times will the following loop repeat?
For (i=-10; i<1 ; c--)

77 / 102

77. Which operator has highest precedence?

78 / 102

78. Which of the following operators is NOT a unary operator?

79 / 102

79. What does a small circle represent in a flowchart?

80 / 102

80. Which of the following gates is also known as inverter?

81 / 102

81. Which format specifier is used to print or read a floating-point value in decimal notation?

82 / 102

82. Which statement is equivalent to “k = k + a;” ?

83 / 102

83. Which of the following functions is used to read the string “Computer Science”?

84 / 102

84. Karnaugh map is a pictorial form of:

85 / 102

85. What is the output of the following codes where a=1 and b= 5?
if (a-b<6)
printf(“%d”, a);
else
printf(“%d”, b);
printf(“%d”, a+b);

86 / 102

86. Which of the selection structures tests only equality?

87 / 102

87. Which of the following functions all C-programs MUST contain?

88 / 102

88. How many reserved words does C language have?

89 / 102

89. Which escape sequence is used to remove the left character?

90 / 102

90. Which program translates high-level language into machine language?

91 / 102

91. A _______ loop is a loop within another loop.

92 / 102

92. A _______ loop is a loop within another loop.

93 / 102

93. Which one of the following is the correct HTML statements to divide the browser window into 3 columns?

94 / 102

94. Which of the following is also called counter loop?

95 / 102

95. Which symbol is used to obtain the total marks from the values given by users, in the flow chart development?

96 / 102

96. Which of the software examines the values stored in variables and helps in finding and removing the errors?

97 / 102

97. The process of retrieving a program instruction from memory is called:

98 / 102

98. Which symbol is used for decision in a flow chart?

99 / 102

99. A computer that makes the web pages available through the internet is called:

100 / 102

100. Which escape sequence is used to move the cursor to the beginning of the current line?

101 / 102

101. Which one of the following symbols is used in the flow chart for the statement “Marks<33”?

102 / 102

102. Which one of the following problem-solving stage refers to dividing the solution into steps and arranging in order to solve the problem?

Your score is

0%

Please rate this quiz and give your feedback.


Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *