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
88

Class 10 Computer Science
Past Papers Grand
Practice MCQs Test

1 / 102

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

2 / 102

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

3 / 102

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

4 / 102

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

5 / 102

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

6 / 102

6. Which is a logical operator?

7 / 102

7. Which operator has lowest precedence?

8 / 102

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

9 / 102

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

10 / 102

10. A small circle in a flowchart represents:

11 / 102

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

12 / 102

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

13 / 102

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

14 / 102

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

15 / 102

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

16 / 102

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

17 / 102

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

18 / 102

18. Which operator has highest precedence?

19 / 102

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

20 / 102

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

21 / 102

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

22 / 102

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

23 / 102

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

24 / 102

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

25 / 102

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

26 / 102

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

27 / 102

27. How many logical operators are in C?

28 / 102

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

29 / 102

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

30 / 102

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

31 / 102

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

32 / 102

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

33 / 102

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

34 / 102

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

35 / 102

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

36 / 102

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

37 / 102

37. 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);

38 / 102

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

39 / 102

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

40 / 102

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

41 / 102

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

42 / 102

42. 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);

43 / 102

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

44 / 102

44. 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

45 / 102

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

46 / 102

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

47 / 102

47. Which logic gate is represented by the function =

(𝑥𝑦)

?

48 / 102

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

49 / 102

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

50 / 102

50. The loop inside another loop is called:

51 / 102

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

52 / 102

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

53 / 102

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

54 / 102

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

55 / 102

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

56 / 102

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

57 / 102

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

58 / 102

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

59 / 102

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

60 / 102

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

61 / 102

61. Which of the following is an arithmetic operator?

62 / 102

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

63 / 102

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

64 / 102

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

65 / 102

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

66 / 102

66. URL stand for:

67 / 102

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

68 / 102

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

69 / 102

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

70 / 102

70. The case block ends with:

71 / 102

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

72 / 102

72.

73 / 102

73. Which language is used for creating Web pages?

74 / 102

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

75 / 102

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

76 / 102

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

77 / 102

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

78 / 102

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

79 / 102

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

80 / 102

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

81 / 102

81. 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);

82 / 102

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

83 / 102

83. How many reserved words does C language have?

84 / 102

84. Which of the following is called counter loop?

85 / 102

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

86 / 102

86. Which of the following is unary gate?

87 / 102

87. 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);
}

88 / 102

88. 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);

89 / 102

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

90 / 102

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

91 / 102

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

92 / 102

92. Which operator is an arithmetic operator?

93 / 102

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

94 / 102

94. Karnaugh map is a pictorial form of:

95 / 102

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

96 / 102

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

97 / 102

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

98 / 102

98. Which of the selection structures tests only equality?

99 / 102

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

100 / 102

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

101 / 102

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

102 / 102

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

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 *