Day3 - Python STT

Day3 - Python STT

Professional Development

10 Qs

quiz-placeholder

Similar activities

Scratch

Scratch

KG - Professional Development

10 Qs

RE-ECHO ON TECHNOLOGY LITERACY AND SKILLS

RE-ECHO ON TECHNOLOGY LITERACY AND SKILLS

Professional Development

10 Qs

ETEC 411 Computer Hardware & Software Quiz

ETEC 411 Computer Hardware & Software Quiz

9th Grade - Professional Development

11 Qs

What is ML

What is ML

Professional Development

13 Qs

LCD vs LED vs OLED

LCD vs LED vs OLED

KG - Professional Development

10 Qs

Chirstmas 2023

Chirstmas 2023

Professional Development

15 Qs

USE OF ICT IN THE LEARNING PROCESS

USE OF ICT IN THE LEARNING PROCESS

Professional Development

10 Qs

Mobile Technology

Mobile Technology

Professional Development

10 Qs

Day3 - Python STT

Day3 - Python STT

Assessment

Quiz

Computers

Professional Development

Medium

Created by

ICT Academy of Kerala

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct operator for power(xy)?

X^y

X**y

X^^y

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these is floor division?

/

//

%

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose d = {“john”:40, “peter”:45}, what happens when we try to retrieve a value using the expression d[“susan”]?

Since “susan” is not a value in the set, Python raises a KeyError exception

It is executed fine and no exception is raised, and it returns None

Since “susan” is not a key in the set, Python raises a KeyError exception

Since “susan” is not a key in the set, Python raises a syntax error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements create a dictionary?

d = {}

d = {“john”:40, “peter”:45}

d = {40:”john”, 45:”peter”}

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The output of the code above is

Key Error

4

Math

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Assume the key is the student's id and the value is the grade. Which of the following code will get the grade of student id 102?

grades[102]

grades.get(102)

grades[2]

grades[3]

grades.key(102)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the code above

3.9

4

Syntax error

Access all questions and much more by creating a free account

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

Already have an account?