Computer 10 Past Papers Grand MCQs Test


Warning: Undefined array key "HTTP_SEC_FETCH_SITE" in /home/u216767942/domains/fbisesolvedpastpapers.com/public_html/wp-content/plugins/quiz-maker/includes/class-quiz-maker-iframe.php on line 71

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
4

Class 10 Computer Science
Past Papers Grand
Practice MCQs Test

1 / 102

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

2 / 102

2. Which operator is an arithmetic operator?

3 / 102

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

4 / 102

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

5 / 102

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

6 / 102

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

7 / 102

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

8 / 102

8. Which language is used for creating Web pages?

9 / 102

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

10 / 102

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

11 / 102

11. Which of the following is an arithmetic operator?

12 / 102

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

13 / 102

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

14 / 102

14. Which is a logical operator?

15 / 102

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

16 / 102

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

17 / 102

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

18 / 102

18. How many logical operators are in C?

19 / 102

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

20 / 102

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

21 / 102

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

22 / 102

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

23 / 102

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

24 / 102

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

25 / 102

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

26 / 102

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

27 / 102

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

28 / 102

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

29 / 102

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

30 / 102

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

31 / 102

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

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.

34 / 102

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

35 / 102

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

36 / 102

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

37 / 102

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

38 / 102

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

39 / 102

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

40 / 102

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

41 / 102

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

42 / 102

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

43 / 102

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

44 / 102

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

45 / 102

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

46 / 102

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

47 / 102

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

48 / 102

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

49 / 102

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

50 / 102

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

51 / 102

51. Which of the selection structures tests only equality?

52 / 102

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

53 / 102

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

54 / 102

54. Which operator has lowest precedence?

55 / 102

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

56 / 102

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

57 / 102

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

58 / 102

58. The loop inside another loop is called:

59 / 102

59. Which of the following is called counter loop?

60 / 102

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

61 / 102

61. The case block ends with:

62 / 102

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

63 / 102

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

64 / 102

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

65 / 102

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

66 / 102

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

67 / 102

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

68 / 102

68. Which logic gate is represented by the function =

(𝑥𝑦)

?

69 / 102

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

70 / 102

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

71 / 102

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

72 / 102

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

73 / 102

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

74 / 102

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

75 / 102

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

76 / 102

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

77 / 102

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

78 / 102

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

79 / 102

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

80 / 102

80. A small circle in a flowchart represents:

81 / 102

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

82 / 102

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

83 / 102

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

84 / 102

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

85 / 102

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

86 / 102

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

87 / 102

87. Karnaugh map is a pictorial form of:

88 / 102

88. Which operator has highest precedence?

89 / 102

89. Which of the following is unary gate?

90 / 102

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

91 / 102

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

92 / 102

92. How many reserved words does C language have?

93 / 102

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

94 / 102

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

95 / 102

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

96 / 102

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

97 / 102

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

98 / 102

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

99 / 102

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

100 / 102

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

101 / 102

101. URL stand for:

102 / 102

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

Your score is

0%

Please rate this quiz and give your feedback.


Leave a Comment