0% found this document useful (0 votes)
8 views4 pages

Grade 11 Unit 1 - Finl

This document is a practice paper for Grade 11 ICT students at Ayesha Muslim Ladies College, covering various programming concepts including loops, flowcharts, and operator precedence. It consists of multiple-choice questions that test knowledge on programming logic, control structures, and data types. The questions require students to analyze code snippets and flowcharts to determine correct outputs and behaviors.

Uploaded by

mahasinfawas7
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)
8 views4 pages

Grade 11 Unit 1 - Finl

This document is a practice paper for Grade 11 ICT students at Ayesha Muslim Ladies College, covering various programming concepts including loops, flowcharts, and operator precedence. It consists of multiple-choice questions that test knowledge on programming logic, control structures, and data types. The questions require students to analyze code snippets and flowcharts to determine correct outputs and behaviors.

Uploaded by

mahasinfawas7
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/ 4

AK/ AYESHA MUSLIM LADIES COLLEGE, AKKARAIPATTU

Practice Paper – Unit 01


Subject : ICT Paper - 03 Grade : 11
D

01. If N is an integer variable, the following code:

N=10 1. Executes 6 times 2. executes 5 times


DO while N>=5
3. never begins 4. never ends
N=N-1
LOOP

02. Logical structure of the flowchart given in the figure shows

1. a sequence

2. a simple selection

3. both sequence and simple selection

4. an iteration

03. If the value of variable P is initially 2, what will be the value of the variable P after execution of
the loop

for count :=1 to 4 do


p:=p*count; 1. 1 2. 10 3. 24 4. 48

04. Within a program, a group of statement is to be executed repeatedly 10 times. Select the most
suitable statement for this purpose from the following type of statement in Pascal programming

1. For-statement 2. while-statement

3. repeat – statement 4. if - statement

05. The given flowchart models the reading of a set of temperatures (T) and displaying a message
"Cold" when they are below 26°C. What is the correct sequence of the labels that should be
denoted by the circles 1, 2, 3, 4, 5, 6 of the flowchart?

1. Read T, T<26, No, "Cold", Yes, Anymore?


2. Read T, T<=25, Yes, "Cold", No, Anymore
3. Read T, Anymore?, Yes, "Cold", No, T<=25
4. Read T, Anymore?, No, T<26, Yes, "Cold
06. What will be the value of output by Display Z of the given pseudo-code

Begin
X=1 1. 1 2. 2
Y=1
while(X=Y) 3. 3 4. 4
Z=X+Y
Y=2
end while
display Z
end

07. If N is an Integer Variable, the following program code:

N=10
M=6 1. executes 6 time 2. executes 5 times
DO While M > 5
N = N –1 3. never begins 4. never ends
Loop

08. What is the order of precedence of operators used to evaluate the expression
2*(3+4)(-5/2+6) in computer programming

1. ( ) , * , / , - , + 2. * , ( ) , - , / , +

3. + , * , - , / , + (),*, -,/,+
4.

09.

In computer programming, which one of the following relationships is correct, regarding the
contents in columns X and Y of the table given above

1. (A) with (Q) and (S) 2. (A) with (S) and (B) with (R )

3. (B) with (P) and (R ) 4. (B) with (Q) and (S)

10. Value of the variable X is initially 20, what will be the value of X after the execution of the loop
repeat
X := X-4 1. 0 2. -4
unit X < 0;
3. 4 4. 8
11. Select the operator that has the highest priority in the list of operators

{<>, +, <, OR, MOD} 1. <> 2. +

3. OR 4. MOD

• Answer below 3 question based on the given flowchart

12. What are the outputs of the flowchart, if the current


temperature is 28°C, 27°C, 26°C respectively?

1. Cold, Cold, Cold 2. Hot, Cold, Cold

3. Hot, Hot, Cold 4. Hot, Hot, Hot

13. Which of the following control structures are required to


convert the following flowchart into a computer program?

1. If Then construct 2. If Then Else construct

3. For Loop 4. Do- While loop

14. Which of the following data types is suitable for the variable C and R in the above flowchart?

1. String 2. Real

3. Boolean 4. Currency

15. Which of the following statement is incorrect regarding a variable used in a computer
program?

1. A variable has a name (identifier) 2. A variable refers to one or more memory locations

3. A variable has a data type 4. The value of a variable remains unchanged

16. Which of the following represents the correct order of precedence of arithmetic operators
from left to right?

1. +, *, = 2. +, *, -

3. *, +, / 4. *, /, +
17. Consider the following pseudocode:

which of the following is a possible output of the above pseudo code?

1. 4, 12, 3 2. 5, 2, 10
3. 5, 10, 2 4. 4, 8, 2

• Consider the below flowchart for 4 questions.

18. Which of the following represents process, decision and output


respectively?

1. 4, 12, 3 2. 5, 2, 10

3. 5, 10, 2 4. 4, 8, 2

19. Choose the most correct decision that terminates the iteration

1. X>15 2. X<15 3. X>=15 4. X<=15

20. What is the output of the flow chart?

1. 9 2. 12 3. 15 4. 18

21. If the decision X > 15 is changed to X >= 15, the output of the flowchart is

1. 9 2. 12 3. 15 4. 18

• Consider the given flowchart to answer the below 2 questions.

22. Consider the following is correct regarding the flowchart?

1. It repeats more than 2. It stops when 3 is entered


three times. for num.
3. It displays the total when 4. It gets 4 numbers from a
the counter is 3 user

23. Which of the following can be used to replace "Add num to total"
in the flowchart?

1. num = num+total 2. total = num*total


3. total = total+num 4. total = total/num

You might also like