1st Embedded & Ai T

1st Embedded & Ai T

University

25 Qs

quiz-placeholder

Similar activities

Programming Knowledge Quiz (Easy)

Programming Knowledge Quiz (Easy)

5th Grade - Professional Development

20 Qs

PSC Quiz1

PSC Quiz1

University - Professional Development

20 Qs

Python Code

Python Code

8th Grade - Professional Development

20 Qs

Python-Loops-Iterables

Python-Loops-Iterables

12th Grade - University

25 Qs

Study Comrade | Data Analytics

Study Comrade | Data Analytics

University - Professional Development

20 Qs

TECHNICAL_QUIZ_ROUND1

TECHNICAL_QUIZ_ROUND1

University

25 Qs

Basic 3 Python

Basic 3 Python

12th Grade - Professional Development

21 Qs

Python Basics 3

Python Basics 3

6th Grade - University

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