CS XII

CS XII

12th Grade

60 Qs

quiz-placeholder

Similar activities

MIL 1st Quarter Exam

MIL 1st Quarter Exam

11th - 12th Grade

60 Qs

CAT Grade 12 Multiple Choice

CAT Grade 12 Multiple Choice

12th Grade

59 Qs

Criptografía

Criptografía

12th Grade - Professional Development

60 Qs

Cybersecurity Unit 4

Cybersecurity Unit 4

9th - 12th Grade

57 Qs

Adolygu Ffeithiau Uned 4 - Cyfrifiadureg

Adolygu Ffeithiau Uned 4 - Cyfrifiadureg

12th Grade

56 Qs

Microsoft Word 2019 Advanced

Microsoft Word 2019 Advanced

9th - 12th Grade

56 Qs

ITE 8 - Module 11 Part 2 - Review

ITE 8 - Module 11 Part 2 - Review

12th Grade

65 Qs

Current IT Trends of 2023 Quiz

Current IT Trends of 2023 Quiz

9th - 12th Grade

63 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?