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
84

Class 10 Computer Science
Past Papers Grand
Practice MCQs Test

1 / 102

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

2 / 102

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

3 / 102

3. How many logical operators are in C?

4 / 102

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

5 / 102

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

6 / 102

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

7 / 102

7. Karnaugh map is a pictorial form of:

8 / 102

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

9 / 102

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

10 / 102

10. Which operator has lowest precedence?

11 / 102

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

12 / 102

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

13 / 102

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

14 / 102

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

15 / 102

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

16 / 102

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

17 / 102

17. Which language is used for creating Web pages?

18 / 102

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

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. Which format specifier is used to print or read a floating-point value in decimal notation?

21 / 102

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

22 / 102

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

23 / 102

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

24 / 102

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

25 / 102

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

26 / 102

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

27 / 102

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

28 / 102

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

29 / 102

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

30 / 102

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

31 / 102

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

32 / 102

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

33 / 102

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

34 / 102

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

35 / 102

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

36 / 102

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

37 / 102

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

38 / 102

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

39 / 102

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

40 / 102

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

41 / 102

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

42 / 102

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

43 / 102

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

44 / 102

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

45 / 102

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

46 / 102

46. The loop inside another loop is called:

47 / 102

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

48 / 102

48.

49 / 102

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

50 / 102

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

51 / 102

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

52 / 102

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

53 / 102

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

54 / 102

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

55 / 102

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

56 / 102

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

57 / 102

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

58 / 102

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

59 / 102

59. Which operator is an arithmetic operator?

60 / 102

60. Which of the following is called counter loop?

61 / 102

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

62 / 102

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

63 / 102

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

64 / 102

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

65 / 102

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

66 / 102

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

67 / 102

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

68 / 102

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

69 / 102

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

70 / 102

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

71 / 102

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

72 / 102

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

73 / 102

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

74 / 102

74. Which operator has highest precedence?

75 / 102

75. Which of the selection structures tests only equality?

76 / 102

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

77 / 102

77. Which logic gate is represented by the function =

(𝑥𝑦)

?

78 / 102

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

79 / 102

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

80 / 102

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

81 / 102

81. The case block ends with:

82 / 102

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

83 / 102

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

84 / 102

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

85 / 102

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

86 / 102

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

87 / 102

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

88 / 102

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

89 / 102

89. Which of the following is unary gate?

90 / 102

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

91 / 102

91. Which is a logical operator?

92 / 102

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

93 / 102

93. How many reserved words does C language have?

94 / 102

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

95 / 102

95. URL stand for:

96 / 102

96. A small circle in a flowchart represents:

97 / 102

97. Which of the following is an arithmetic operator?

98 / 102

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

99 / 102

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

100 / 102

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

101 / 102

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

102 / 102

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

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 *