Питон 1-50

Питон 1-50

University

50 Qs

quiz-placeholder

Similar activities

tech stack

tech stack

University

55 Qs

C1 _S.Quiz: Intro to Profession

C1 _S.Quiz: Intro to Profession

University

46 Qs

Бағдарламалау негіздері бойынша тест

Бағдарламалау негіздері бойынша тест

University

51 Qs

Quiz on Data Science and Basic Python

Quiz on Data Science and Basic Python

University

53 Qs

Python Programming Quiz

Python Programming Quiz

University

49 Qs

Codean Java - Conditional

Codean Java - Conditional

University

48 Qs

Chapter 9 - Chapter 10 Revision Question Python

Chapter 9 - Chapter 10 Revision Question Python

University

45 Qs

Algorithmization and Programming

Algorithmization and Programming

University

49 Qs

Питон 1-50

Питон 1-50

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

Yana Mitina

Used 8+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of a variable in Python?

To store data values.

To execute Python code.

To display output on the screen.

To import external libraries.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to display "Hello, World!" in Python?

print("Hello, World!")

echo "Hello, World!"

printf("Hello, World!")

System.out.print("Hello, World!")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store a sequence of characters in Python?

str

int

list

dict

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the input() function in Python?

To take user input.

To define a variable.

To iterate over a sequence.

To display output.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a list in Python?

my_list = [1, 2, 3]

my_list = {1, 2, 3}

my_list = (1, 2, 3)

my_list = <1, 2, 3>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python operator is used for addition?

+

-

*

/

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for a while loop in Python?

while x > 10:

while(x > 10)

while x < 10

repeat while x < 10

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?

Discover more resources for Information Technology (IT)