Python Coding Fundamentals

Python Coding Fundamentals

9th Grade

18 Qs

quiz-placeholder

Similar activities

Penilaian Tengah Semester

Penilaian Tengah Semester

9th Grade

20 Qs

Asesmen Bab 2 Data Pribadi dan Identitas Digital

Asesmen Bab 2 Data Pribadi dan Identitas Digital

9th Grade

20 Qs

Self Management Skills 1

Self Management Skills 1

9th Grade

20 Qs

Internet and App script

Internet and App script

5th Grade - University

22 Qs

Tugas Latihan Soal Informatika 9

Tugas Latihan Soal Informatika 9

9th - 12th Grade

20 Qs

Internet Networking – Multiple Choice Exam

Internet Networking – Multiple Choice Exam

9th Grade

20 Qs

Latihan Soal AAS Ganjil

Latihan Soal AAS Ganjil

9th Grade

15 Qs

AI và đạo đức người dùng

AI và đạo đức người dùng

9th - 12th Grade

15 Qs

Python Coding Fundamentals

Python Coding Fundamentals

Assessment

Quiz

Information Technology (IT)

9th Grade

Practice Problem

Medium

Created by

JOSE CUADROS

Used 15+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?