CS XII

CS XII

12th Grade

60 Qs

quiz-placeholder

Similar activities

EDPM TEST #1

EDPM TEST #1

9th - 12th Grade

60 Qs

Advanced HTML5 & CSS3 Part IV

Advanced HTML5 & CSS3 Part IV

9th - 12th Grade

55 Qs

Ulangan Harian

Ulangan Harian

12th Grade

60 Qs

on tap cuoi ki 1 tin 12

on tap cuoi ki 1 tin 12

12th Grade

60 Qs

UH 1 bahasa pemograman

UH 1 bahasa pemograman

10th Grade - University

60 Qs

Apple Motion and Final Cut Pro X

Apple Motion and Final Cut Pro X

10th - 12th Grade

60 Qs

Computer Science Quiz

Computer Science Quiz

3rd - 12th Grade

59 Qs

AI Midterm

AI Midterm

9th - 12th Grade

63 Qs

CS XII

CS XII

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Navneet Sadh

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?