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

Variable are created in:

Question # 2

the integer, long and short data types are known as:

Question # 3

Relational operators are used to

Question # 4

Which of the following is used to separate each variable while declaring more than one variable on the same line?

Question # 5

a+=b is equivalent to:

Question # 6

Which is a valid statement for declaring a variable?

Question # 7

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

Question # 8

Which of the following are valid variable names?

Question # 9

How many primary keys can a table have

Question # 10

An integer variable can store the value:

Question # 11

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

Question # 12

Which of the following is the valid character constant

Question # 13

Which of the following are required to declare a variable?

Question # 14

Variables are created in

Question # 15

An attribute that uniquely identify each row in a relation is called

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 NOT a valid statement to initialize a variable?
A. int n=100;
B. long,population=15000;
C. char n []="hello World";
D. cons int N=100;
2 Which of the following statements is NOT legal?
A. char ch='b';;
B. char ch='0'
C. char ch=65;
D. char ch="cc"
3 A candidate key is
A. Primary key
B. The primary key selected to be the key of relation
C. A group attribute that can be the primary key
D. All of them
4 Which of the following are valid variable names?
A. Long
B. Integer
C. Notlongenough
D. Both B and C
5 The data type can handle decimal places is:
A. Long
B. float
C. char
D. string
6 Which term describes the kind of values that a variable can store?
A. Varaible name
B. Datatype
C. Varaibletype
D. Varaiblesize
7 Another way to write the value 3452211903 is:
A. 3.452211903e09
B. 3.45221193e-09
C. 3.452211903×09
D. 3452211903e09
8 Which of the following data type is used to store string value:
A. char
B. float
C. string
D. long
9 The number of bytes used by long int data type in C is:
A. 2
B. 4
C. 12
D. 16
10 A process of assigning initial value to a variable at the time of declaration is called:
A. Assigning
B. Initializing
C. Naming
D. setting

Test Questions

Share your comments & questions here

Guest
  • marry

    marry

    08 Feb 2017

    student

    Like
    Reply