Python Coding Fundamentals

Python Coding Fundamentals

9th Grade

18 Qs

quiz-placeholder

Similar activities

4.1 Kod Arahan

4.1 Kod Arahan

1st Grade - University

16 Qs

Programming Variables (Python)

Programming Variables (Python)

9th Grade

17 Qs

quiz1B1

quiz1B1

7th Grade - University

20 Qs

Understanding Loops in C Programming

Understanding Loops in C Programming

1st Grade - University

15 Qs

Quiz Informatika Genap KLs 7

Quiz Informatika Genap KLs 7

7th Grade - University

15 Qs

Python Programming Quiz

Python Programming Quiz

9th Grade

16 Qs

Internet and App script

Internet and App script

5th Grade - University

22 Qs

Y10 Computer Literacy

Y10 Computer Literacy

9th Grade

15 Qs

Python Coding Fundamentals

Python Coding Fundamentals

Assessment

Quiz

Information Technology (IT)

9th Grade

Medium

Created by

JOSE CUADROS

Used 15+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in Python?

A variable in Python is a command that executes a loop.

A variable in Python is a symbolic name that references a value stored in memory.

A variable in Python is a type of function that performs calculations.

A variable in Python is a fixed value that cannot change.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a variable in Python?

let variable_name = value

set variable_name to value

You declare a variable in Python by using the syntax: variable_name = value.

variable_name : value

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the main data types available in Python?

The main data types are: Tiky Tokys, Instagrammies, Tweets, Tripi Tropis, Tropa Tripas

The main data types are: numbers, text, groups, decimal numbers and more.

The main data types available in Python are: int, float, str, list, and bool.

char

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between an integer and a float?

An integer can have decimals; a float cannot.

An integer is a type of float with no decimals.

An integer is a whole number; a float is a number that can have decimals.

An integer is always negative; a float is always positive.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you perform addition (suma) in Python?

Use the '/' operator to divide numbers in Python.

Use the '-' operator to subtract numbers in Python.

Use the '*' operator to multiply numbers in Python.

Use the '+' operator to add numbers in Python.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you perform subtraction (resta) in Python?

Use the '/' operator to divide numbers in Python.

Use the '-' operator to subtract numbers in Python.

Use the '*' operator to multiply numbers in Python.

Use the '+' operator to add numbers in Python.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you perform division in Python?

Use the '/' operator to divide numbers in Python.

Use the '-' operator to subtract numbers in Python.

Use the '*' operator to multiply numbers in Python.

Use the '+' operator to add numbers in Python.

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?