CS XII

CS XII

12th Grade

60 Qs

quiz-placeholder

Similar activities

ICT SPM : LA2 (Sistem Komputer)

ICT SPM : LA2 (Sistem Komputer)

10th - 12th Grade

59 Qs

Advanced Personal Finance Final Exam Review

Advanced Personal Finance Final Exam Review

9th - 12th Grade

63 Qs

Logic Gates

Logic Gates

9th - 12th Grade

57 Qs

Apple Motion and Final Cut Pro X

Apple Motion and Final Cut Pro X

10th - 12th Grade

60 Qs

Doors

Doors

1st Grade - Professional Development

60 Qs

Networking Unit 1 Exam

Networking Unit 1 Exam

12th Grade

64 Qs

Logic && Boolean Expressions (A-Level Computer Science)

Logic && Boolean Expressions (A-Level Computer Science)

11th - 12th Grade

58 Qs

2023 Fall EA color code handtool Safety Final Exam

2023 Fall EA color code handtool Safety Final Exam

9th - 12th Grade

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