Sjmit-Q1-[Workshop-MAR-25]

Sjmit-Q1-[Workshop-MAR-25]

12th Grade

20 Qs

quiz-placeholder

Similar activities

Round 2

Round 2

University

15 Qs

Understanding Python Control Structures

Understanding Python Control Structures

University

15 Qs

file handling in python 2

file handling in python 2

12th Grade

15 Qs

Characterization Quiz

Characterization Quiz

9th - 12th Grade

22 Qs

Quiz on Sale of Goods Act 1957 Topic 5

Quiz on Sale of Goods Act 1957 Topic 5

University

20 Qs

Round 1

Round 1

University

15 Qs

Sale of Goods [Conditions & Warranties]

Sale of Goods [Conditions & Warranties]

University

18 Qs

A1-A2 English Santistevan Contest

A1-A2 English Santistevan Contest

12th Grade

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