Sjmit-Q1-[Workshop-MAR-25]

Sjmit-Q1-[Workshop-MAR-25]

12th Grade

20 Qs

quiz-placeholder

Similar activities

Python Programming Challenge

Python Programming Challenge

University

15 Qs

Game Dev Basics

Game Dev Basics

University

15 Qs

Quiz KOMSAS Drama Mahkamah Tingkatan 2

Quiz KOMSAS Drama Mahkamah Tingkatan 2

University

15 Qs

Lev 6 Autumn2 Week 3

Lev 6 Autumn2 Week 3

12th Grade

20 Qs

Ulasan Karya Fiksi Kelas 8

Ulasan Karya Fiksi Kelas 8

8th Grade - University

15 Qs

"Le Diable s'habille en Prada" Quiz à choix multiples

"Le Diable s'habille en Prada" Quiz à choix multiples

12th Grade

20 Qs

Cuestionario sobre Big Data

Cuestionario sobre Big Data

12th Grade

15 Qs

Elizabethan Drama Quiz

Elizabethan Drama Quiz

University

15 Qs

Sjmit-Q1-[Workshop-MAR-25]

Sjmit-Q1-[Workshop-MAR-25]

Assessment

Quiz

Others

12th Grade

Hard

Created by

Manjunatha M

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the correct way to declare a variable in Python?

10 = x

x = 10

x : 10

let x = 10

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a built-in data type in Python?

tuple

list

array

dictionary

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What will be the output of the expression 3 * 2 ** 2?

6

12

8

10

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you create a list in Python?

You create a list in Python using angle brackets, e.g., my_list = <1, 2, 3>.

You create a list in Python using curly braces, e.g., my_list = {1, 2, 3}.

You create a list in Python using square brackets, e.g., my_list = [1, 2, 3].

You create a list in Python using parentheses, e.g., my_list = (1, 2, 3).

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which control structure is used to execute a block of code multiple times?

Loop

Condition

Variable

Function

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What keyword is used to define a function in Python?

function

procedure

def

method

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the output of the following code: print(type(5))?

Int

Float

Char

String

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?