G12 Sem 2 T 3

G12 Sem 2 T 3

12th Grade

10 Qs

quiz-placeholder

Similar activities

TECH BASICS

TECH BASICS

12th Grade

10 Qs

Digital Image Processing Quiz

Digital Image Processing Quiz

12th Grade

15 Qs

G9- Problem Solving Stages Quiz

G9- Problem Solving Stages Quiz

9th Grade - University

10 Qs

Selection Programming_If condition

Selection Programming_If condition

8th Grade - University

15 Qs

Quiz1 Kelas XII

Quiz1 Kelas XII

12th Grade

10 Qs

Kuis Python Lanjutan kelas XII

Kuis Python Lanjutan kelas XII

12th Grade

10 Qs

Github Quiz

Github Quiz

10th Grade - University

15 Qs

KLS8 IT

KLS8 IT

8th Grade - University

10 Qs

G12 Sem 2 T 3

G12 Sem 2 T 3

Assessment

Quiz

Information Technology (IT)

12th Grade

Easy

Created by

Ab Fil

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is correct way of declaring variable in python?

var x

int x

declare x

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is correct way of providing single line comment in python?

//comment text

#comment text

/*comment text*/

<!--comment text-->

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is valid variable naming in python?

7num

num 7

_7num

#num7

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the code shown?

15

105

"10+5"

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the error type in the code fragment shown?

Type Error

Name Error

Syntax Error

Invalid Indentation

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the code fragment shown?

01234

012345

1234

12345

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the if statement in Python?

To define a function

To declare variable

To create a loop

To execute conditional block of code

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?