12th Class ICS Computer Science Chapter 9 Online MCQ Test for (Elements of C)

ICS Part 2 Computer Science Online
Chapter 9 Test

Start Chapter 9 Test

MCQ's Test For Chapter 0 "ICS Part 2 Computer Science Chapter 9 Online Test"

Try The MCQ's Test For Chapter 0 "ICS Part 2 Computer Science Chapter 9 Online Test"

  • Total Questions15

  • Time Allowed20

ICS Part 2 Computer Science Chapter 9 Online Test

00:00
Question # 1

Relational operators are used to

Question # 2

Which of the following operations has lowest precedence?

Question # 3

The float, long float and double data types are known as:

Question # 4

A memory location with some data that cannot be changed is called:

Question # 5

Which of the following are required to declare a variable?

Question # 6

Variable are created in:

Question # 7

A process of assigning initial value to a variable at the time of declaration is called:

Question # 8

Which of the following is not a good primary key

Question # 9

What happens when the result of a calculation exceeds the capacity of data type?

Question # 10

Which of the following is NOT a valid identifier?

Question # 11

Another way to write the value 3452211903 is:

Question # 12

Which statement is true about data types?

Question # 13

Which variable should be used to store the value "I want an A in this exam".

Question # 14

Which of the following data type is used to store string value:

Question # 15

The number of bytes used by double data type in C is:

Prepare Complete Set Wise Chapter 0 "ICS Part 2 Computer Science Chapter 9 Online Test" MCQs Online With Answers


Topic Test

00:00
9th Chapter

ICS Part 2 Computer Science Chapter 9 Online Test MCQ's

Top Scorers Of Chapter 0 "ICS Part 2 Computer Science Chapter 9 Online Test" MCQ`s Test

  • K
    Kaonain Khan 20 - Jan - 2025 01 Min 10 Sec 15/15
  • M
    Muhsan 20 - Jan - 2025 01 Min 58 Sec 14/15
  • P
    Parveen Akhtar 21 - Dec - 2024 02 Min 34 Sec 13/15
  • A
    Alishba Yasir 17 - Dec - 2024 02 Min 50 Sec 13/15
  • Z
    Zeeshan Malik 03 - Jan - 2025 03 Min 19 Sec 13/15
  • M
    Memona Zaka 20 - Dec - 2024 05 Min 47 Sec 13/15
  • M
    Muhammad Umer 16 - Dec - 2024 02 Min 13 Sec 12/15
  • S
    Saim G 30 - Jul - 2025 02 Min 30 Sec 12/15
  • W
    Waleed Ahmad 15 - Jan - 2025 03 Min 04 Sec 12/15
  • M
    Musfira Mukhtar 15 - Jan - 2025 03 Min 45 Sec 12/15
  • N
    Nadeem Pakistan 14 - Jan - 2025 04 Min 05 Sec 12/15
  • R
    Rehan Jarral 07 - Oct - 2025 13 Min 02 Sec 12/15
  • R
    rabia shakeel 21 - Dec - 2024 01 Min 27 Sec 11/15
  • H
    Hira Nadeem 19 - Apr - 2026 02 Min 10 Sec 11/15
  • F
    Fatima Asif 23 - Oct - 2025 03 Min 38 Sec 11/15

ICS Part II Computer Science Chapter 0 Important MCQ's

Sr.# Question Answer
1 Which is a valid statement for declaring a variable?
A. int marks;
B. int a,b,c;
C. Double salary;
D. All
2 Which statement is true about data types?
A. Data type has no memory requirements
B. Each data type has different memory requirements
C. Each data type has same memory requirements
D. None of the above
3 the integer, long and short data types are known as:
A. Integer data types
B. Non-integral data types
C. float data types
D. Non-numeric data types
4 C is strongly typed language, it means that:
A. Every program must be compiled before execution
B. Every variable must be declared before it is being used
C. The variable declaration also defines the variable
D. Sufficient data types are available to manipulate each type of data
5 a+=b is equivalent to
A. a+=b
B. a=+b
C. a=a+b
D. b=b+a
6 The number of bytes used by int data type in C is:
A. 2
B. 8
C. 12
D. 16
7 The logical not operator denoted by is
A. Ternary operator
B. Unary operator
C. a=a+b
D. b=b+a
8 How many primary keys can a table have
A. One
B. At least one but not more than two
C. Between 1-5
D. No limit
9 Which of the following is a valid character constant?
A. a
B. "Hello"
C. '6'
D. =
10 A primary key that consists of more than one attribute is called a
A. Foreign key
B. Composite key
C. Multi-valued key
D. Global key

Test Questions

Is this page helpful?