1st Embedded & Ai T

1st Embedded & Ai T

University

25 Qs

quiz-placeholder

Similar activities

Python 1.0

Python 1.0

10th Grade - University

20 Qs

HKMNOP C3

HKMNOP C3

University - Professional Development

20 Qs

JavaScript Básico 2

JavaScript Básico 2

University

25 Qs

Basic 2 Python

Basic 2 Python

12th Grade - Professional Development

20 Qs

Quiz for Engineers day

Quiz for Engineers day

University

20 Qs

Bridge Course - Screening Test

Bridge Course - Screening Test

10th Grade - Professional Development

30 Qs

Zion Round 1 Test Set 2

Zion Round 1 Test Set 2

University

25 Qs

Advanced Concepts in Classes & Recursion

Advanced Concepts in Classes & Recursion

University

20 Qs

1st Embedded & Ai T

1st Embedded & Ai T

Assessment

Quiz

Professional Development

University

Medium

Created by

Manjunatha M

Used 2+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Python?

Python is a high-level programming language.
Python is a type of snake.
Python is a low-level programming language.
Python is a web development framework.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you print something in Python?

Use the print() function, e.g., print('Hello, World!')
Print to the console using log()
Use the echo() function
Display output with output()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used to assign a value to a variable in Python?

=
::
=>
==

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to get input from the user in Python?

read()
get_input()
input()
scan()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a list in Python?

You create a list in Python with the list() function, e.g., my_list = 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 by using parentheses, e.g., my_list = (1, 2, 3).
You create a list in Python using square brackets, e.g., my_list = [1, 2, 3].

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(2 + 3)?

4
6
7
5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does len() function do?

The len() function calculates the sum of numbers in a list.
The len() function checks if an object is empty.
The len() function returns the length of an object.
The len() function converts an object to a 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?