Important Computer Science Class 11 MCQ Online Tests

Hey Students, Here you will get the important chapter-wise Computer Science Class 11 MCQ Online Test. Assess yourself and Enjoy the quizzes!

Computer Science Class 11 MCQ

Let us begin the Computer Science Class 11 MCQ Online test with Chapter 1 computer systems. Here we go!

Watch this video to understand how to attend a quiz:

Quiz 1 Chapter 1 The Computer System and Organization (Part 1)

In this test of Computer Science Class 11 Online Test you will get questions from the topics:

  1. Fundamental of Computers
  2. The IPO Cycle
  3. Input and Output Devices
  4. Organization of Computer
  5. Evolution of Computer
0%
671

You have 20 minutes to attempt this quiz. It will be automatically submitted in 20 minutes.


Created by Important Computer Science Class 11 MCQ Online Teststutorialaicsip

Quiz 1 Chapter 1 Computer System and Organizations

This quiz is based on the topics Basics of computer, IPO cycle, Input and Output devices, and Memory concepts.

Important Computer Science Class 11 MCQ Online Tests

1 / 20

__________ refers to the inteconnection of all the components of computer.

2 / 20

Which of the following component of the memory unit remember a piece of information and provides it as and when required quickly?

3 / 20

When the power turned off, data will be lost. This is known as __________

4 / 20

The process of feeding data into computer system is known as ___________

5 / 20

CU stands for

6 / 20

Which of the following is a feature of RAM?

7 / 20

The compute word means that __________

8 / 20

The tangible parts of computer are known as ___________

9 / 20

Which of the following elements of the IPO cycle requires user involvement?

10 / 20

Which of the following is an input device?

11 / 20

Which of the following scanner is used to read data from cheques?

12 / 20

The slowest printer is

13 / 20

Which of the following is not a type of scanner?

14 / 20

Which of the following part does not performing a task itself in Computer Organization?

15 / 20

The printed copy of your computerized work is known as

16 / 20

Which of the following is a volatile memory?

17 / 20

The process of checking all connected devices are working properly or not at the starting of computer is known as ________

18 / 20

Which of the following memory is responsible for POST?

19 / 20

Which of the following memory stores data temporarily?

20 / 20

The computer follows the IPO cycle that refers to Input-Performance-Output.

Your score is

The average score is 56%

0%

Quiz 2 Chapter 1 The Computer System and Organization – Software Concepts (Part 2)

This Computer Science Class 11 Online Test is purely based on the topic of Software Concepts. Enjoy online tests. Topics included in this test are:

  1. Introduction to Software
  2. Types of Software
    • System Software
    • Application Software
303
Created on By Important Computer Science Class 11 MCQ Online Teststutorialaicsip

Quiz 2 Chapter 1 Computer System

This quiz is based on the topics data and information, and software. So enjoy the quiz.

Important Computer Science Class 11 MCQ Online Tests

1 / 25

Which of the following types of software provides the facility to operate a computer by interacting directly with hardware?

2 / 25

Deleting data refers to ___________

3 / 25

When the software needs to be purchased from the developer that does not provides any source code is known as ________

4 / 25

Which of the following may be a valid cause of accidental deletion of file or data?

5 / 25

Which of the following system software acts as an interface between the device and the operating system?

6 / 25

The key feature of software is

7 / 25

Which of the following are two main security concerns associated with data?

8 / 25

Which of the following data maintains the internal tags or structure to maintain data elements?

9 / 25

The raw facts, figures and text are considered as __________

10 / 25

IDE stands for

11 / 25

Fetching data from storage devices for processing as per the requirements is known as __________.

12 / 25

Which of the following is correct feature of data?

13 / 25

Which of the following is a language translator or processor that checks the entire program in one go and then returns errors?

14 / 25

Which of the following is an example of general-purpose software?

15 / 25

Which of the following types of data follow a specific pattern?

16 / 25

_________ manages other application programs and provides access and security to the users of the system.

17 / 25

The set of instructions or commands which cannot be touched or viewed physically is known as _________

18 / 25

Which of the following utility needs to be installed by the user?

19 / 25

The data for Facebook status can be considered as __________ type of data.

20 / 25

Data recovery is always possible whether data is deleted or overwritten.

21 / 25

Which of the following is not an operating system?

22 / 25

The software is used for maintenance and and configuration of the computer system is called __________

23 / 25

The process of gathering data using scanners, keyboard, mouse or scanners is known as _____

24 / 25

The structured data must be saved in a file to access in future.

25 / 25

The interpreter does not convert the source code into machine code.

Your score is

The average score is 46%

0%

Quiz 3 Chapter 2 Encoding Schemes and Number System

This section of the Computer Science Class 11 Online Test consists of the questions for Chapter 2 Encoding schemes and number system. The questions included from these topics:

  1. Encoding Schemes
    • ASCII
    • ISCII
    • UNICODE
  2. Number System
    • Binary
    • Octal
    • Decimal
    • Hexa-decimal
    • Conversion
216
Created on By Important Computer Science Class 11 MCQ Online Teststutorialaicsip

Quiz 3 Encoding Schemes

This quiz covers questions from Chapter 2 Encoding Schemes and Number system. Enjoy the quiz and give your feedback into the commect section.

Important Computer Science Class 11 MCQ Online Tests

1 / 20

The base of Binary system is _______

2 / 20

The base of octal number system is ___________

3 / 20

The hexadecimal value for 13 is __________

4 / 20

Which of the following is an equivalent hexadecimal number of the binary number 0110101100 is

5 / 20

ASCII uses _______ bits to represent characters.

6 / 20

ISCII can represent ____ bit characetrs.

7 / 20

The ASCII was develolped in _________.

8 / 20

The ASCII is capable to encode characters of any language.

9 / 20

Each cell of the table contains a character along with its equivalent ________ value in Unicode table for the Devanagari script.

10 / 20

Which of the following is not a commonly used encoding scheme?

11 / 20

Which of the following is the equivalent decimal number of the binary number 10101100

12 / 20

Every keyboard present on the key is mapped to a unique code.

13 / 20

The full form ASCII is _________

14 / 20

Which of the following encoding scheme is commonly used for encoding scheme?

15 / 20

The count of literal or digits in a number system is known as ________.

16 / 20

The mechanism of converting data into an equivalent cipher using specific code is  called ___________

17 / 20

The binary equivalent of the decimal number 0.25 is _________

18 / 20

Which of the following is an equivalent binary number of - 23D hexadecimal number

19 / 20

The __________ provides a unique number for every character for various devices like servers, desktop, mobile and operating system linux, windows, iOS or software application.

20 / 20

ISCII was developed in ________.

Your score is

The average score is 55%

0%

Quiz 4 Chapter 3 Boolean Logics

This section is based on questions from Boolean Logics. Assess yourself now !!!

Topics covered for this quiz are:

  1. Introduction to boolean logic
  2. Truth Table
  3. Logical Operations
  4. Logical Operators
  5. Logic Gates
  6. Laws
140
Created on By Important Computer Science Class 11 MCQ Online Teststutorialaicsip

Quiz 4 Boolean Logic

Assess yourself for the concepts of Boolean Logics quiz.

Important Computer Science Class 11 MCQ Online Tests

1 / 25

1. The binary values are denoted by

2 / 25

2. Which of the following symbol is used to denote an and operator?

3 / 25

3. Which of the following operation considered as logical multiplication?

4 / 25

4. Which of the following represents a boolean function or expression with all possible inputs and output in tabular form?

5 / 25

5. The logical operations can be applied to _____________

6 / 25

6. Which of the following image represents XOR gate?

a) Important Computer Science Class 11 MCQ Online Tests

b) Important Computer Science Class 11 MCQ Online Tests

c) Logical Gate NAND

d) Important Computer Science Class 11 MCQ Online Tests

7 / 25

7. The bar symbol is used to represent

8 / 25

8. Which of the following operator requires only a single variable?

9 / 25

9. Which of the following statement is correct for AND operator?

10 / 25

10. Identify the gate:

AND-gate

11 / 25

11. Truth values refer to

12 / 25

12. The operator which results in high when any one of the inputs is high is known as

13 / 25

13. The operation performed by NOT is also known as ___________

14 / 25

14. Manisha is evaluating a boolean expression. She is getting output 1 as a result of all the values. This is called

15 / 25

15. The ________ gate is also known as inverter gate.

16 / 25

16. Observe the truth table and Identify the operator

Important Computer Science Class 11 MCQ Online Tests

17 / 25

17. Arrange the operators in proper order as per operator precedence:

a) OR

b) ()

c) AND

d) NOT

18 / 25

18. Logical gate refers to

19 / 25

19. Identify the gate:

Logical Gate NAND

20 / 25

20. The OR operation is performed by which of the following operators?

21 / 25

21. Which of the following image represents NOR gate?

a) Logical Gate NAND

b)

Important Computer Science Class 11 MCQ Online Tests

c)

Important Computer Science Class 11 MCQ Online Tests

d)

Important Computer Science Class 11 MCQ Online Tests

22 / 25

22. Arrange the following steps into the appropriate order

a) Evaluate expression given in the parenthesis

b) Evaluate Boolean Expression from left to right

c) Compute result according to the properties

d) Write the result

23 / 25

23. Arrange the rules of evaluating a boolean expression using truth tables in proper order:

a) Compute result of each input

b) determine the number of rows and make a column for each variable and result

c) Write all 0's in the first half of the first column followed by 1 in the rest of the column

d) Continue the process for the next columns by reducing the 0's and 1's

24 / 25

24. The sentences which can be answered in either TRUE or FALSE is known as ____________

25 / 25

25. The no. of rows in the truth table is computed as

Your score is

The average score is 43%

0%

Quiz 5 Chapter 4 Introduction to problem-solving

This section provides you with the quiz for Introduction to the problem-solving topic. Assess yourself and leave your feedback in the comment section!

Topics covered in this quiz are:

  1. Introduction
  2. Algorithm
  3. Flowchart
  4. Pseudocode
90
Created on By Important Computer Science Class 11 MCQ Online Teststutorialaicsip

Quiz 5 Introduction to Problem Solving

This quiz contains the questions from chapter 5 Introduction to problem-solving.  Assess yourself and enjoy!!

Important Computer Science Class 11 MCQ Online Tests

1 / 25

Which of the following is not a frequently used word for pseudocode?

2 / 25

Fill in the blanks using proper keywords for the following pseudocode :

input n1
_____ n2
_____ Result = n**2
PRINT Result

3 / 25

The word pseudocode means that

4 / 25

The Psuedocode is pronounced as __________

5 / 25

Luv is learning the algorithm concepts. He just read a similar term for the process but forget the word. Identify the word from the following:

6 / 25

The flowchart symbol called "Terminator" is used for

7 / 25

Which of the following symbol is used to Start/End in the flowchart?

a) Start End Symbol Flow chart

b) Flow Chart Symbol Process

c) Flowchart Input Output Symbol

d) Flow chart Decision Symbol

8 / 25

The __________ is a graphical representation of an algorithm.

9 / 25

Rashmi is learning the characteristics of an algorithm. In this, she read that the algorithm always stops after a certain number of steps. This characteristic refers to

10 / 25

Which of the following is not a characteristics of an algorithm?

11 / 25

Fill in the following blanks:

Step 1 Start

Step 2 ___ n

Step 3 ___ n<10

Step 4 print("One digit number")

Step 5 ____

Step 6 print("More than one-digit number")

Step 7 stop

12 / 25

The errors refers to

13 / 25

Which of the following is not a type of testing?

14 / 25

The process of converting the program into a format that can be understood by a computer to generate the desired solution is called ___________

15 / 25

The solution is represented in natural language is called

16 / 25

What are the possible outcomes of  analysing the problem

17 / 25

If a developed is not clear with what to be solved then the process will end up with

18 / 25

Arrange the steps of the problem-solving in proper order

a) Coding

b) Testing and Debugging

c) Developing an algorithm

d) Analysing the problem

19 / 25

The process of problem-solving technique ends with

20 / 25

A complex problem requires ____________

21 / 25

Aaksah was trying to start up his laptop. But the laptop was not starting up. He started to find the problem with the battery and power cord. This process is considered as

22 / 25

The problem solving does not contain a process of

23 / 25

The success of a computer in solving a problem depends on

24 / 25

Mr. Sagar is facing a problem for his company. His company is doing a business in export and import. He wanted to analyse the data and process the records. Which of the following technique is required to do this in an easy manner?

25 / 25

Which of the following refers to a problem?

Your score is

The average score is 51%

0%

Quiz 6 Chapter 5 Getting Started With Python

This section provides the quiz for Getting Started with the Python chapter. Just have a look at this quiz and check your progress!

Topics covered in this quiz are:

  1. Introduction to Python
  2. Features of Python
  3. Python Execution Modes
  4. Python Distributions
33
Created on By Important Computer Science Class 11 MCQ Online Teststutorialaicsip

Quiz 6 Getting Started with Python

This quiz contains questions from getting started with python.

Important Computer Science Class 11 MCQ Online Tests

1 / 10

Shail wants to type commands in python and run them on the same window, suggest the mode he can use for the same purpose.

2 / 10

Which of the following is not a feature of python?

3 / 10

Python is portable and platform independent. This means that

4 / 10

The python interpreter is also known as

5 / 10

Who developed Python?

6 / 10

Which of the following python-mode allows to save the written commands for future use?

7 / 10

__________ is an ordered set of instructions to be executed by a computer carry out a specific task.

8 / 10

The binary language is also known as

9 / 10

Case sensitive refers to

10 / 10

The symbol >>> is available in __________ mode.

Your score is

The average score is 59%

0%

Quiz 7 Chapter 6 Python Fundamentals

This section includes an MCQ quiz from Chapter Python Fundamentals. It has 50 questions from this chapter. Just practice it and enjoy.

Topics covered in this chapter are:

  1. Python Character Sets
  2. Python tokens
  3. Variables
  4. Concept of l-value and r-value
  5. Use of comments
0%
1

Quiz 7 Chapter 6 Python Fundamentals

Important Computer Science Class 11 MCQ Online Tests

Provide your details to compute your result.

1 / 50

1) Which of the statement is correct with respect to comment in python?

2 / 50

2) Which of the following literal refers to the absence of value?

3 / 50

3) Most computer actions are governed by _______ cycle.

4 / 50

4) Which of the following is a legal combination of symbols that represents a value?

5 / 50

5) Which of the following is not an assignment operator?

6 / 50

6) What will be the size of - 'FolderD:\\'

7 / 50

7) Which of the following boolean literal is equal to 1?

8 / 50

8) State True or False: Python variables supports dynamic typing.

9 / 50

9) Which of the following is invalid identifier?

10 / 50

10) A print() function returns _________ without any value or name of expression.

11 / 50

11) The multiline strings are encloses with

12 / 50

12) Which of the following recognizes a new line character in python program?

13 / 50

13) In _______ typing the data type of variable cannot changed.

14 / 50

14) Which operator returns the quotient without decimals?

15 / 50

15) Which of the following is not a relational operator?

16 / 50

16) The set of valid characters that a language can recognize is

17 / 50

17) Which of the following is an arithmetic operator?

18 / 50

18) Which of the following is incorrect/partially correct-incorrect rule of naming an identifier?

19 / 50

19) _________ are the words that conveys special meaning to the language compiler or interpreter.

20 / 50

20) Identify - I am the group of statements in the Python program that is part of another statement or function.

21 / 50

21) Which of the following operators returns True when the value exists in the Python sequence?

22 / 50

22) Which of the following is not a keyword?

23 / 50

23) To represent octal numbers in Python program which of the following sequences is valid followed by a number?

24 / 50

24) Identify the string literal form these:

25 / 50

25) The input function returns

26 / 50

26) State True or False: Python is case sensitive language.

27 / 50

27) The value 0.000125 is equals to

28 / 50

28) Which of the following character is the default separator through print()?

29 / 50

29) Assertion(A): Symbols or special characters used in the program are punctuators. Pucntuators are one of the tokens.

Reason(R): The smallest unit of a program is called a token.

30 / 50

30) Which function in Python returns the data type of a variable or object?

31 / 50

31) Which of the following is the correct exponent form of 53.25?

32 / 50

32) In python program, a variable pointing to a value of a certain type can be made to point to a value of a different type. This is called ___________

33 / 50

33) The nongraphic characters can be represented by

34 / 50

34) Tokens are

35 / 50

35) Which of the following is not a keyword ?

36 / 50

36) Which parameter of the print() function changes the default endline character '\n' to any other specified character?

37 / 50

37) Which of the following is a valid identifier for a Python program?

38 / 50

38) Which of the following is a logical operator?

39 / 50

39) Which of the following creates a block of code in python?

40 / 50

40) A ________ is a set of instructions that govern the processing.

41 / 50

41) The single line comments in python starts with ____ symbol.

42 / 50

42) The fundamental building blocks of a program that are used to give names to different parts of program are known as

43 / 50

43) Which of the following statements is correct for a Python statement?

44 / 50

44) The escape character sequence - '\t' represents

45 / 50

45) Identify the expression:

46 / 50

46) To change a default separator from space to #. Which parameter is required to be added to print()?

47 / 50

47) Which of the following is a valid keyword?

48 / 50

48) Which of the following operator is used to return remainder after division?

49 / 50

49) Which of the following literals are not supported by python?

50 / 50

50) Block in python also known as

Your score is

The average score is 68%

Share now with your friends!!

LinkedIn Facebook
0%

Quiz 8 Chapter 7 Data Handling

In this section, I have prepared a quiz from Chapter 7 Data Handling. It has 26 MCQ questions based on Python programming language. Enjoy it!

Topics covered in this chapter are:

  1. Knowledge of data types
  2. Operators
  3. Expressions
  4. Statements
  5. Type Conversion
  6. Input/Output Functions
  7. Precedence of operators
  8. Evaluation of expression
  9. Errors – Syntax Errors, Logical Errors, Run-time Errors
33

Quiz 8 Chapter 7 Data Handling

Important Computer Science Class 11 MCQ Online Tests

1 / 26

The user-defined conversion that forces an expression to be of specific type is known as

2 / 26

What will be the output of : 'a' and None

3 / 26

Numbers with fractions are represented by which of the following data type in python?

4 / 26

What will be the value of x,y, and z respectively?

a=13

b=4

x,y,z=a/b,a//b,a%b

5 / 26

Which of the following functions returns the unique identity of the object which is its assigned memory address?

6 / 26

Python data types are of two types. Which are they?

7 / 26

What will be the returned by this statement: 10 or 1

8 / 26

In Python, the floating point numbers have the precision of

9 / 26

The output of 'xyz' or '' (Empty String) is:

10 / 26

The data types that never change the value in place are called

11 / 26

What will be the output of: 55 and 99

12 / 26

Which operator has the lowest precedence?

13 / 26

Consider the following Python statement:

a,b=7,2

x=a*5**b

Where a and b are?

14 / 26

The explicit type conversion also known as

15 / 26

Which of the following data type allows to store numbers without fractions?

16 / 26

Observe this expression and choose the appropriate output:

a=0.1

b=0.2

c=a+b

print(c==0.3)

17 / 26

Which of the following operators is used to check if both operands reference the same object memory?

18 / 26

The conversion performed by the compiler without programmers intervention is known as

19 / 26

What will be the output of this code:

a=4

b=4.0

print(a is b)

20 / 26

An error causing disruption in the program's running or in producing the right output is

21 / 26

The Boolean data type represents

22 / 26

Which of the following is not a built-in core datatype of python?

23 / 26

What will be the value of x?

x=-175//3

24 / 26

what is the value of x ?

x=13/2.5

25 / 26

State True or False: Integers in Python can be of any length, limited by the memory available.

26 / 26

Consider this Python statement:

a,b=23,3

c=a*b-5//2

Where a*b-5//2 is :

Your score is

The average score is 50%

0%

Quiz 9 Chapter 8 Flow of control

In this section of Computer Science Class 11 MCQ, I will provide MCQ questions from Chapter 8 Flow of Control. It has 30 MCQ questions based on control statements. The topics covered in this chapter are as follows:

  1. Introduction
  2. Use of indentation
  3. Sequential Flow
  4. Conditional Flow
  5. Iterative Flow
  6. Conditional Statements – if, if-else, if-elif-else
  7. Iterative Statements – For loop, range(), while loop, break and continue statements, nested loops
25

Quiz 9 Chapter 8 Flow of Control

Important Computer Science Class 11 MCQ Online Tests

1 / 30

The else block of loop will be executed when

2 / 30

The function range(5) is equvivalent to

3 / 30

The condition is tested after executing the loop-body at least once is called

4 / 30

For loop must require which of the following operator?

5 / 30

A program control statement requires for

6 / 30

Which of the following is counting loop?

7 / 30

Select a proper instance when a pass statement is useful:

8 / 30

Named conditions can be used to

9 / 30

Which of the following is not a correct types of statement?

10 / 30

The jump statements are used to jump out of loops. Select appropriate jump statements out of the following:

11 / 30

The repetition construct also known as

12 / 30

In a compound statement, a header line

13 / 30

The advantage of the named conditions is:

14 / 30

The range(2,5) function will generate an iterable sequence like

15 / 30

Which of the following functions is used in a for loop to generate a list of specific sequence types?

16 / 30

Both loops of python, for and while have else clause.

17 / 30

Which of the following is conditional loop

18 / 30

Which of the following statements is correct for the selection construct?

19 / 30

The selection construct is also known as

20 / 30

The condition tested before executing the loop-body before entering in the loop is known as

21 / 30

Any single executable statement in a Python program is a _________ statement.

22 / 30

Which of the following is a default flow of statement in Python program?

23 / 30

Which of the following keyword is used to create an empty statement in python?

24 / 30

In a Python program, if a break statement is given in a nested loop, it terminates the execution of all loops in one go.

25 / 30

Empty statement in Python is also known as __________

26 / 30

Which of the following is the selection statement?

27 / 30

A compound statement represents

28 / 30

Which of the following statements forces the next iteration of the loop to take place?

29 / 30

The for and while are ________ statements.

30 / 30

Every programming language provides constructs to support

Your score is

The average score is 39%

0%

Quiz 10 Chapter 9 String Manipulations

In this section I will provide quiz on Chapter 9 String Manipulations. This quiz consists of 35 MCQs on given topic. This chapter covers the following topics:

  1. string operations (concatenation, repetition, membership and slicing)
  2. traversing a string using loops
  3. String Functions – len(), capitalize(), title(), lower(), upper(), count(), find(), index(), endswith(), startswith(), isalnum(), isalpha(), isdigit(), islower(), isupper(), isspace(),lstrip(), rstrip(), strip(), replace(), join(), partition(), split()
13

Quiz 10 Chapter 9 String Manipulations

Important Computer Science Class 11 MCQ Online Tests

1 / 35

Which of the following function returns True is at least one character is alphanumeric?

2 / 35

The len() function in python is __________ function?

3 / 35

Which of the following string methods is used to return the lowest index in the string where the substring is found within the slice range of start and end?

4 / 35

Which string function will replace all the occurrences of the letter 'P' with 'z'?

5 / 35

Which of the following operator will not work on string?

6 / 35

What will be the output of the following?

s="TuorialAICSIP-A-learning-Platform"

s=s.split('-')

s1=s[0]+"-"+s[2]+s[3]

print(s1)

7 / 35

Which of the following functions returns total number of characters present in the string object 's'?

8 / 35

A staring having 0 characters is known as

9 / 35

What is the output of following statements?

s="CS CLass 11"

print(s.isdigit())

10 / 35

What will be the output of following?

s="CS@ClassXI"

print(not s[2].isalnum())

11 / 35

Which of the following is the invalid operation?

12 / 35

State True or False: The number and string cannot be combined with + operator.

13 / 35

What will be the output of the following statements?

s="Humpty Dumpty sat on a wall"

s.find("mpty",7,15)

 

14 / 35

What will be the output of following code?

s="computer science class 11"

l=s.split()

s1='#'.join([l[0][0].upper()+l[1][0].upper(),l[2].capitalize(),l[3]])

print(s1)

15 / 35

Shagun wants to display only 11 as the output of the given string object 's'. Where 's' contains the string - 'Python Class 11'. Help her by selecting an appropriate option.

16 / 35

Which line of statement generates an error?

s="Python Class 11" #Statement 1

s1=s+' 2024'   #Statement 2

s2=s*2 #Statement 3

s[4]='0' #Statement 4

17 / 35

What will be the output of the following statements?

s="Humpty Dumpty sat on a wall"

s.find("on",7,15)

18 / 35

Identify the valid string in Python:

19 / 35

An empty string is enclosed within

20 / 35

Which function removes all leading spaces from a string?

21 / 35

What will be the output of following:

s='Hello'

s=str(len(s)+ord('D'))

print(s.isdigit())

22 / 35

You have the following code segment:

s1="Class"

s2="XI"

print(S1+S2)

23 / 35

Which string method splits the string at the first occurrences of a separator and returns tuple contains three items?

24 / 35

What will be the output of following statements?

s=' '

print(s.isalnum())

25 / 35

Which of the following statements returns the string object s in reverse order?

26 / 35

Which of the following function will convert the first letter of the string into capital?

27 / 35

What will be the output of the following?

s="@Python@3.12@2024"

s.count('2',len(s)-4,12)

 

28 / 35

If the substring doesn't exist in the string , then find() will return

29 / 35

Consider the statement given below:

s='Python Class 11'

Which of the following of statements produces the same result:

s[::-3] #Statement 1

s[0]+s[-3] #Statement 2

s[::-1][-1]+s[len(s)-1] #Statement 3

s[0]+s[-1] #Statement 4

30 / 35

Aryan wants to convert the string into capital letters. Suggest a function out of the following to accomplish his task.

31 / 35

Which of the following is a valid operation on a string?

32 / 35

Which of the following string method raise a ValueError exception when the substring not found in the string?

33 / 35

What will be the output of the following?

s="Humpty Dumpty sat on a wall"

s.find("mpty")

34 / 35

Priya wants to print the last letter of the string s in python. Which of the following is a perfect index for the same?

35 / 35

What will be the output of following:

s='Computer Science'

print(s[:4],s[-7:-4],sep='.')

Your score is

The average score is 38%

0%

Quiz 11 Chapter 10 List Manipulation

In this section we will cover the Chapter List Manipulations. This quiz include MCQs from following topics:

  1. List indexing
  2. list operations (concatenation, repetition, membership and slicing)
  3. traversing a list using loops
  4. built-in functions/methods–len(), list(), append(), extend(), insert(), count(), index(), remove(), pop(), reverse(), sort(), sorted(), min(), max(), sum()
  5. nested lists
8

Quiz 11 Chapter 10 List Manipulation

Important Computer Science Class 11 MCQ Online Tests

1 / 31

Vidhi wants to insert an element to the end of list. Select an appropriate list method from the following to accomplish her task.

2 / 31

Which of the following function is used to delete an element by its value?

3 / 31

Which of the following function will delete all elements and make a list empty?

4 / 31

Which of the following statement will delete an element from list through its index?

5 / 31

Dhyani has written following code :

l=[1,2,3,4] #Statement 1

l.append(1,5) #Statement 2

l.pop(3) #Statement 3

l.extend(range(3)) #Statement 4

Which statement insert multiple elements in to the list?

6 / 31

Which of the following function is used to all the elements including list object from memory?

7 / 31

Which of the following is correct syntax to create an empty list?

8 / 31

What will be the output of following?

l=[6,7,8]

print(l*2)

9 / 31

Which of the following is correct syntax to create a list of integer?

10 / 31

Which of the following function is not a list function?

11 / 31

If List l=[12,13,14,15,16,17]

Then what would be the output of l[2:-2]?

12 / 31

Consider the list:

l=[55,66,77,88,99]

What would l[1:3] will return?

13 / 31

What will be the output of following?

l1=[4,6,8]

l2=[3,5,7]

print(l1+l2)

14 / 31

Which of the following function will deletes an element from end of the list?

15 / 31

Identify the correct statement for sorted() function:

16 / 31

A list having different shaped elements is known as

17 / 31

Which of the following statement will copy list L1 into list L2?

18 / 31

Select a statement which creates a list with [0,1,2]:

19 / 31

Which of the following statement is correct for find() method with respect to list?

20 / 31

In Python , when any position outside the list is accessed, then Python raises _________ exception.

21 / 31

To sort the list in descending order in python, which of the following argument is correct?

22 / 31

Consider this list:

l=["Computer Science",[11,12]]

print(l[0][1::2],l[1][0])

23 / 31

What will be the output of:

l=[None]*3

print(l)

24 / 31

State True or False: Python slicing is not helpful to modify any list element.

25 / 31

Which of the following function is used to created a list through user input?

26 / 31

Which statement is correct for reverse() method?

27 / 31

What will be the output of the following?

s='Python'

l=list(s)

print(l)

28 / 31

Prince want to insert an element at the specific position into the list. Which of the following function will be helpful to him?

29 / 31

A python list is a collection of values of these types:

30 / 31

Which of the following is not a valid statement for a list operations?

Consider these lists:

l1=[1,2,4]

l2=[5,8,9]

31 / 31

A list object L, having 5 elements. Which of the following is  correct statement to access the last element of list?

Your score is

The average score is 57%

0%

Quiz 12 Chapter 11 Tuples

In this section of Computer Science Class 11 MCQ, we will see quiz from the chapter 11 Tuples. It includes the MCQ questions from these topics:

  1. Indexing
  2. tuple operations (concatenation, repetition, membership and slicing)
  3. built-in functions/methods – len(), tuple(), count(), index(), sorted(), min(), max(), sum();
  4. tuple assignment
  5. nested tuple
6

Quiz 12 Chapter 11 Tuples

Important Computer Science Class 11 MCQ Online Tests

1 / 22

Observe this code and identify the incorrect statement:

t=(1,3,2) #Statement 1

t=t+(4,) #Statement 2

t=t*2 #Statement 3

t[1]=4 #Statement 4

2 / 22

Which of the following operators requires both operands as tuple types?

3 / 22

What will be the output of the following code:

t=23,(7,44,55),7,(1,2,7)

t.count(7)

4 / 22

Creating a tuple from a set of values is known as

5 / 22

Which of the following statements is an example of unpacking tuple?

t=(7,8,9)

6 / 22

Which of the following statements will be executed successfully for the given tuple t?

t=(55,77,89,43)

7 / 22

Select the function that does not apply to a tuple from following:

8 / 22

What will be the output of the following statement?

t=(1)+2

9 / 22

Which of the following statements is incorrect?

10 / 22

Which of the following statement is correct to declare a Tuple with a single element?

11 / 22

Which of the following is correct to delete a tuple?

12 / 22

State True or False: Python will create a fresh tuple when you make changes to an element of a tuple.

13 / 22

What will be the output of the following:

tp=(8,)

t=3*8

print(t)

14 / 22

What will be the result produced by the following:

t=(11,22,44)

t.pop(1)

print(t)

15 / 22

Which of the following statement will create an empty tuple?

16 / 22

The process sssigning tuple element's values to a separate variable is known as

17 / 22

Consider the given tuple t and choose the two statements that gives the same output:

t=(99,88,66,55,77)

print(t[:-1])  #Statement 1

print(t[0:5]) #Statement 2

print(t[0:4]) #Statement 3

print(t[-4:]) #Statement 4

 

18 / 22

What will be the output of following?

t=()

t=t*3

print(len(t))

19 / 22

Which of the following function is used to create a tuple?

20 / 22

Python raises IndexError exception if

21 / 22

Observe the given code and select an appropriate option:

t=(7,5)

t=t*2

print(t)

22 / 22

Which of the following statement is correct in terms of tuple and list?

Your score is

The average score is 41%

0%

Quiz 13 Chapter 12 Dictionaries

In this section you will get a quiz based on Chapter 12 Dictionaries. There are 32 questions, attempt it and test yourself. The topics covered in this quiz are as follows:

  1. Dictionary Basics
  2. accessing items in a dictionary using keys
  3. mutability of a dictionary (adding a new term, modifying an existing item)
  4. traversing a dictionary
  5. built-infunctions/methods – len(), dict(), keys(), values(), items(), get(), update(), del(), del, clear(), fromkeys(), copy(), pop(), popitem(), setdefault(), max(), min(), sorted()
5

Quiz 13 Chapter 12 Dictionaries

Important Computer Science Class 11 MCQ Online Tests

1 / 34

Consider the following dictionary:

d={'Ram':13,'Kalpesh':11,'Mahesh':17,'Dinesh':24}

print(len(d))

2 / 34

State True or False: The setdefault() method allows to insert only a single element at a time.

3 / 34

Which operation is not supported by dictionary?

4 / 34

The list, tuples etc. have index in python. But in dictionaries there is no index. Which of the following is replace of an index in dictionary?

5 / 34

The keys of a dictionaries, must be of

6 / 34

Identify the constructor function to create a dictionary:

7 / 34

Select the correct statement:

(i) The in and not in operator checks membership only in keys

(ii) The in and not in operator checks membership only in values

(iii) Checking keys in dictionary using membership operator is called reverse lookup

(iv) The values can be checked using membership operator with dict.values() function

8 / 34

Which function deletes an element by its key?

9 / 34

Select an appropriate versatile type of python:

10 / 34

State True or False: In dictionary if key is already exist, the value will be updated by dict[key] otherwise it raises a KeyError.

11 / 34

To print a large dictionary in more readable and presentable manner which module required to be imported?

12 / 34

Identify the correct ways to delete elements form dictionaries:

13 / 34

Which function of json module print the dictionary in more presentable form?

14 / 34

Dictionary represents the structure of

15 / 34

To create a dictionary in python, which of the following brackets are used?

16 / 34

Select the correct statement to create a dictionary using constructor:

(i) d=dict(player_name='Virat',runs=13848,match='ODI')

(ii) d=dict({'player_name':'Virat','runs':13848,match:'ODI'})

(iii) d=dict(zip(('player_name','runs','match','Virat',13848,'ODI')))

(iv) d=dict(zip(('player_name','runs','match'),('Virat',13848,'ODI')))

 

17 / 34

The d.items(), where d is a dictionary object, returns

18 / 34

Attempting to access a key that doesn't exist in dictionary raises

19 / 34

Which operator is invalid for a dictionary operations?

20 / 34

Which of the following statement(s) is/are correct for dictionaries?

(i) Dictionaries are mutable

(ii) Dictionaries are unordered collection

(iii) Dictionaries have built-in keys

(iv) Dictionaries are associated with ordered  index

21 / 34

Select an inappropriate feature of dictionary:

22 / 34

Guess the output for the following:

d = {'a': 99, 'b': 222}

d1 = {'b': 33, 'c': 54}

d1.update(d)

print(d1)

23 / 34

A dictionary operation that takes a key and finds the corresponding value is called __________

24 / 34

Select the correct statement for update() function:

25 / 34

Which of the following cannot be a key for dictionary?

26 / 34

Which function will delete last element from dictionary d?

27 / 34

Consider the given dictionary and guess the output of below given statements:

d={'Apple':'13 Pro Max','Samsung':'S21 Ultra','Google':'Pixel 6 Pro'}

print('Pixel 6' in d)

28 / 34

What will be the output of following:

D={'A':8,'B':7,'C':4}

print(D['D'])

29 / 34

The default separator for dictionary elements for key and value pair is

30 / 34

Observe the given code and select an option to fill in the given blank:

months=['Jan','Feb','Mar','Apr','May']

values=None

d=___________

print(d)

31 / 34

Consider the following dictionary and code:

d={1:38,2:49}

d.setdefault(3)

d.setdefault(4,81)

print(d)

32 / 34

Jhanvi wants to add an element into dictionary using a dictionary function. Suggest her a function to accomplish her task:

33 / 34

Consider the below given dictionary and choose the correct output:

d={'Alpha':'Beta','Beta':'Gamma','Gamma':'Delta'}

print(d['Beta'])

34 / 34

To return the value of given dictionary key which function is used?

Your score is

The average score is 47%

0%

Leave a Comment