Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Subject: Computer Science(T7)

THE LEARNER’s CORNER ACADEMY ,CHINIOT Total-Marks:36


Monthly Test Series (Second Year) MARCH 2024
Q. No. 1 Possible answers are given in each statement. Tick correct one. (10)
Sr# Question Statement A B C D
1 Another term for a computer making a decision is : Selection Repetition Iteration Sequential
2 Which programming structure makes a comparison? Decision Relation Sequence Repetition
3 In if statement true is represented by: 1 0 -1 2
4 Relational operators allow you to____numbers. Add Compare Multiply Divide
5 ___statement is group of statement enclosed in braces Compound Composite Aggregate None
6 ______provide one way decision making structure. If If-Else if-else-if All
7 There are ____numbers of control structure in C. 1 2 3 4
8 When a condition is false, it has the value: Zero One Two Less than 0
9 If condition becomes false block after___will execute if else main None
10 Every else must have an ____associated with it. Braces If Semicolon Condition
Q. No. 2 Give Short Answers of any Eight(08) of Following: (8x2=16)
i. What is control structure? vi. Draw flowchart of if-else statement.
ii. Define the use of if-else-if. vii. What are limitations of if statement?
iii. Write a program that input a number and determines viii. What is the use of if-else statement.
whether it is even or odd? ix. Write an example of if-else statement.
iv. Define condition. x. Define repetition structure.
v.Write a program that determine whether a year is leap or not.
LONG QUESTION (9)
Q.No.3 Define if statement with an example. Write its syntax. Draw flowchart of if statement

---------------------------------------------------------------------------------------------------------

THE LEARNER’s CORNER ACADEMY ,CHINIOT Total-Marks:36


Monthly Test Series (Second Year) MARCH 2024 Subject:Comp. Sci(T7)
Q. No. 1 Possible answers are given in each statement. Tick correct one. (10)
Sr# Question Statement A B C D
1 Another term for a computer making a decision is : Selection Repetition Iteration Sequential
2 Which programming structure makes a comparison? Decision Relation Sequence Repetition
3 In if statement true is represented by: 1 0 -1 2
4 Relational operators allow you to____numbers. Add Compare Multiply Divide
5 ___statement is group of statement enclosed in braces Compound Composite Aggregate None
6 ______provide one way decision making structure. If If-Else if-else-if All
7 There are ____numbers of control structure in C. 1 2 3 4
8 When a condition is false, it has the value: Zero One Two Less than 0
9 If condition becomes false block after____will execute. if else main None
10 Every else must have an ____associated with it. Braces If Semicolon Condition
Q. No. 2 Give Short Answers of any Eight(08) of Following: (8x2=16)
i. What is control structure? vi. Define condition.
ii. Define the use of if-else-if. vii. What are limitations of if statement?
iii. Write a program that input a number and determines viii. What is the use of if-else statement.
whether it is even or odd? ix. Write an example of if-else statement.
iv. Draw flowchart of if-else statement. x. Define repetition structure.
v. Write a program that determine whether a year is leap or not.
LONG QUESTION (9)
Q.No.3 Define if statement with an example. Write its syntax. Draw flowchart of if statement

You might also like