×
11th Chapter

12th Class Computer Science Chapter 11 Test

Here you can prepare 12th Class Computer Science Chapter 11 Decision Constructs Test. Click the button 100% free full practice test.

2nd Year Computer Science Chapter 11 Online MCQ Test for 12th Class Computer Science Chapter 11 (Decision Constructs)

This online test contains MCQs about following topics:

- If Statement
- Use of Logical Operators
- Switch Statement
- Conditional Operator
- Case Study

ICS Part 2 Computer Sci Ch. 11 Test
ic

2nd Year Computer Science Chapter 11 Online MCQ Test for 12th Class Computer Science Chapter 11 (Decision Constructs)

Sr. # Questions Answers Choice
1 break keyword is used in
  • A. If statement
  • B. If-use
  • C. Else-if
  • D. None of the above
2 If x=10 and y=5,, what will the output of the following expression?<div>x&gt;y? x*y: x+y</div>
  • A. 5
  • B. 10
  • C. 15
  • D. 50
3 _______ is created when the same name is used for two different attributes
  • A. Synonyms
  • B. Homonyms
  • C. Redundant information
  • D. Mutually &nbsp;exclusive data
4 Which of the following are valid case statements in a switch?
  • A. Case 1:
  • B. Case x&lt;4:
  • C. Case 'ab':
  • D. Case 1.5:
5 To be in 2NF every non key attribute must depend on
  • A. Key
  • B. All parts of the key
  • C. Composite key
  • D. Both a and b
6 Which of the following statements is the simplest form of a decision structure?
  • A. Select..case
  • B. If statement
  • C. Try..Catch..Finally
  • D. Nested if
7 You can use a decision statement to:
  • A. Run a series of statements if a test fails
  • B. Test series of conditions
  • C. Test whether a condition is true or false
  • D. All of these
8 Which is not possible
  • A. Nesting if statement
  • B. Loop in the body of statement
  • C. If statement in the body of loop
  • D. None of above
9 The first line in switch block contains:
  • A. The value of the first criterion
  • B. The expression to be evaluated
  • C. The statement to be executed if none of the criteria are true
  • D. The statement to be executed if the criterion are true
10 Relational operators allow you to _____________ numbers.
  • A. Compare
  • B. Add
  • C. Multiply
  • D. Divide

Top Scorers of Computer Science Ics Part 2 Chapter 11 Online Test

Brilliant Star

Chakwal22 - Jun - 2024

15/15
02 Mins 10 Sec

Brilliant Star

Chakwal22 - Jun - 2024

14/15
02 Mins 47 Sec
R

Rizwan Jutt

Lahore14 - Apr - 2024

13/15
02 Mins 04 Sec
A

Ayesha Khan

Lahore04 - Jun - 2024

13/15
02 Mins 34 Sec
M

Muhammad Zoraiz Abbas

Lahore06 - Apr - 2024

12/15
02 Mins 31 Sec
M

Mohsin Drawing

Lahore28 - Apr - 2024

12/15
03 Mins 03 Sec
A

Adeel Afzal

Lahore23 - Jun - 2024

12/15
03 Mins 42 Sec
M

Marwa Ashfaq

Lahore19 - May - 2024

12/15
05 Mins 42 Sec
M

Momina Javaid

Lahore28 - Apr - 2024

11/15
01 Mins 57 Sec
M

Minahal Khan

Lahore28 - Apr - 2024

11/15
02 Mins 09 Sec
T

Taiba Usman

Lahore08 - Jun - 2024

11/15
04 Mins 28 Sec
A

Areeba Malix

Lahore02 - Jun - 2024

11/15
05 Mins 46 Sec
F

Fahad Naeem

Lahore27 - Apr - 2024

10/15
03 Mins 15 Sec
A

Areeba Malix

Lahore02 - Jun - 2024

10/15
03 Mins 18 Sec
Q

Qurrat-Ul-Ain

Lahore01 - Jun - 2024

10/15
04 Mins 03 Sec

Share your comments questions here
Sort By:
  • Brilliant Star

    22 Jun 2024

    ternary operator in c language is ?and : used in conditional operator

    Like (1)
    Reply
X

Sign in

to continue to ilmkidunya.com

inquiry-image

Free Admission Advice

Fill the form. Our admission consultants will call you with admission options.

X

Sign in

to continue to ilmkidunya.com

X

Sign in

to continue to ilmkidunya.com

X

Forgot Password

to continue to ilmkidunya.com

X

Register Type

Please Provide following information to Register

  • Student
  • Tutor
  • Consultant
  • Employer