CS XII

CS XII

12th Grade

60 Qs

quiz-placeholder

Similar activities

Apple Motion and Final Cut Pro X

Apple Motion and Final Cut Pro X

10th - 12th Grade

60 Qs

WEB 115 Final Exam Review

WEB 115 Final Exam Review

12th Grade - University

62 Qs

Ôn tập kiểm tra giữa học kỳ 2

Ôn tập kiểm tra giữa học kỳ 2

9th - 12th Grade

56 Qs

lists and dictionaries  in python smsmb

lists and dictionaries in python smsmb

11th - 12th Grade

60 Qs

M3 R5 Chapter 7

M3 R5 Chapter 7

12th Grade - University

58 Qs

Bilan SISR 2ème année

Bilan SISR 2ème année

12th Grade

60 Qs

Working with Files

Working with Files

8th - 12th Grade

59 Qs

Logic Gates

Logic Gates

9th - 12th Grade

57 Qs

CS XII

CS XII

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Navneet Sadh

FREE Resource

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

State True or False: Exception is a compile time error.
True
False

Answer explanation

Explanation for the answer (optional)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the output of the following code snippet text = “Comma(,) is a punctuator” text = text.split(‘,’) print(text)
[ ‘Comma(,)’, ‘is’, ‘a’, ‘punctuator’ ]
[ ‘Comma(’, ‘) is a punctuator’ ]
[ ‘Comma(‘, ‘,’, ‘) is a punctuator’ ]
Error

Answer explanation

Jupiter is a gas giant made primarily of hydrogen and helium. Unlike terrestrial planets that have solid surfaces, gas giants like Jupiter don't have a well-defined solid surface, allowing them to accumulate more mass in a gaseous form. This composition has allowed Jupiter to grow significantly larger than planets with solid surfaces.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following expressions evaluates to True
False or not False and False
False and not False or False
True or not True and False
True and not True or not True

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet? ‘CS’.join(‘IP’)
ICSP'
CIPS'
IPCIPSIP'
CSICSPCS'

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? msg = ‘Transcendental’ print(msg[ 10 : -10 : -2 ])
nde'
ndesaTltenc'
error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement(s) will result in error? t1=(11,22,33) t2=(44,) #statement1 t2+=t1 #statement2 t4=t1*2+t2*2 #statement3 t4[0]=45 #statement4
statement 4
statement 2&4
statement 3&4
All

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement will result in error item={‘Cake’:20, ‘Pastry’:30, ‘Burger’:15}
item[‘Patties’]=30
item.update((‘Patties’,30))
item.update({‘Patties’:30})
item.setdefault(‘Patties’,30)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?