First Year Computer Science Chapter 2 Online MCQ Test for 1st Year Computer Science Chapter 2 (Information Networks)

ICS Part 1 Computer Science Chapter 2 Test

Start Chapter 2 Test

ICS Part 1 Computer Science Chapter Wise Test

MCQ's Test For Chapter 2 "Computer Science Ics Part 1 Chapter 2 Online Test"

Try The MCQ's Test For Chapter 2 "Computer Science Ics Part 1 Chapter 2 Online Test"

  • Total Questions15

  • Time Allowed20

Computer Science Ics Part 1 Chapter 2 Online Test

00:00
Question # 1

What does ‘self’ represent?

Question # 2

What is Object -Oriented programming (OOP)?

Question # 3

What does an if statemetn do?

Question # 4

Which of the following fields used python

Question # 5

Why practice indexing and slicaing 

Question # 6

What is debugging.

Question # 7

The operation used to combine two lists in Python.

Question # 8

Where should you download Python from.

Question # 9

Which is a built -in data structure in Python.

Question # 10

Which operator compares two values and returns True or False.

Question # 11

A loop used to iterate over a ollection such as lists is.

Question # 12

How can you  writ ea multi lne comment in Python.

Question # 13

How does OOP make code scalable

Question # 14

What is the recommmended case for constants

Question # 15

How do you use a module in code.

Prepare Complete Set Wise Chapter 2 "Computer Science Ics Part 1 Chapter 2 Online Test" MCQs Online With Answers


2nd Chapter

11th Class ICS Computer Science Chapter 2 MCQ's Test

Top Scorers Of Chapter 2 "Computer Science Ics Part 1 Chapter 2 Online Test" MCQ`s Test

  • U
    Uzma Adnan 10 - Jan - 2025 00 Min 53 Sec 15/15
  • O
    ORHAN KHAN 08 - Jan - 2025 01 Min 20 Sec 15/15
  • M
    Muhib Siddiqui 23 - Dec - 2024 02 Min 16 Sec 14/15
  • H
    Hassan Raza 26 - Dec - 2024 02 Min 17 Sec 14/15
  • A
    Abdul Rafeh 20 - Jan - 2025 02 Min 32 Sec 14/15
  • A
    Angel Dust 01 - Oct - 2025 02 Min 51 Sec 14/15
  • T
    Taimoor Butt 13 - Jan - 2025 03 Min 17 Sec 14/15
  • S
    shawal ahmed 15 - Jan - 2025 01 Min 29 Sec 13/15
  • M
    MeMeS BY UMãIR 19 - Jan - 2025 01 Min 43 Sec 13/15
  • R
    Rohaan Butt 23 - Sep - 2025 01 Min 49 Sec 13/15
  • B
    Babar khokhar Ali 11 - Jan - 2025 02 Min 10 Sec 13/15
  • A
    ABNxBOSS 10 - Nov - 2025 04 Min 29 Sec 13/15
  • M
    Muhammad Ahmad 03 - Oct - 2025 14 Min 02 Sec 13/15
  • B
    Beenish Adeel 07 - Jan - 2025 01 Min 58 Sec 12/15
  • F
    Faisal Maqbool 26 - Dec - 2024 03 Min 25 Sec 12/15
Sr.# Question Answer
1

What is modular programming.

A.

One file

B.

Smaller modules

C.

No functions

D.

Single data structure

2

What si the shorthand version of if -else written in one lin called?

A.

Compact loop

B.

Ternary operaton

C.

Short function 

D.

Inline comment

3

Whcih has the highest preedence in Python expressions.

A.

Addition 

B.

Parentheses ‘()’

C.

Multiplication 

D.

Exponentiation

4

What is an object in Python.

A.

Instance of a class

B.

Template for classes

C.

Type of variable

D.

Build -in function

5

Why is the main () function important.

A.

Faster execution

B.

Organizes code

C.

Infiniteloops

D.

Not important

6

What is the main function in Python?

A.

Background functions

B.

Starting point

C.

Imports modules

D.

Error handler

7

What does the describe() method do?

A.

Initializes the object

B.

Describes he toy car

C.

Creates a toy car

D.

Modifies attributes

8

How does the standard library help programmers.

A.

Complex algorithms

B.

Pre built solutions

C.

More coding

D.

Limited functionality

9

What is unit testing?

A.

Testing the whle app

B.

Testing parts i isolation 

C.

User interaction testing

D.

Performance testing

10

What is the purpose of the range () function in Python.

A.

To create a list of strings

B.

To generate a sequence of numbers

C.

To store data in variables

D.

To compare values

11

What is the result of the expressi on? ‘3+4 *2’?

A.

10

B.

11

C.

14

D.

6

12

Which OOP principle allows code reuse.

A.

Encapsulation 

B.

Inheritance

C.

Polymorphism

D.

All

13

What is the result of  3** 2 ?

A.

6

B.

5

C.

8

D.

9

14

Why are pakages useful in Python.

A.

To  make code messy

B.

To group modules and improve order

C.

To delete old code

D.

To slow down execution

15

Which of the following is a logical operator.

A.

‘_’

B.

‘+’

C.

not

D.

‘=’

Test Questions

Is this page helpful?