Search Header Logo

Round 1

Authored by Ammar Azlan

Computers

University

Used 8+ times

Round 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which function is used to read input from the user in Python?

read()
get()
input()
scan()

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which operator is used to compare two values for equality in Python?

=
==
!=
>

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Name the repetition control structure that is available in Python.

loop
while
switch
do..while

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which collection type in Python is ordered and changeable?

List
Tuple
Set
Dictionary

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which collection type in Python is unordered, unchangeable, and unindexed?

List
Tuple
Set
Dictionary

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which collection type would be most suitable for storing a database of students' information with multiple attributes like name, student ID, intake, phone number, and email?

List
Tuple
Set
Dictionary

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is a function in programming?

A block of code that runs only when it is called.
A block of code that runs automatically when the program starts.
A block of code that runs when a specific event occurs.
A block of code that runs in the background continuously.

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?