Search Header Logo

CodeNova Tech MCQs - 1 2k25

Authored by Microsoft LIET

Architecture

University

CodeNova Tech MCQs - 1 2k25
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will import math allow you to do?

Use all math functions directly

Use functions with math. prefix

Create math functions

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you handle an exception in Python?

catch-except

onerror

handle-error

try-except

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does "self" represent in a class?

The parent class

The class itself

The current instance

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following functions cannot be used with lambda functions?

remove()

map()

filter()

reduce()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is/are immutable in Python?

Tuples

Dictionaries

Sets

All the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the right syntax of the slice object.

slice(start, stop, step)

slice(start, step, stop)

slice(step, start, stop)

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a control statement in loops?

break

end

continue

None of the above

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?