Python Basics

Python Basics

1st Grade

9 Qs

quiz-placeholder

Similar activities

algorithms INTRO

algorithms INTRO

KG - University

10 Qs

Working with Windows

Working with Windows

1st Grade

10 Qs

TIK Kls VI

TIK Kls VI

1st - 5th Grade

13 Qs

Питонимся

Питонимся

1st - 5th Grade

13 Qs

Kahoot 2 - PA

Kahoot 2 - PA

1st Grade

10 Qs

Programowanie Minecraft

Programowanie Minecraft

1st - 8th Grade

12 Qs

Python-Partie3

Python-Partie3

1st Grade

10 Qs

Python Math

Python Math

1st - 12th Grade

10 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

1st Grade

Hard

Created by

Elvis Mwape

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step to create a program in Python?

Install Python

Download Python

Compile the code

Write the code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you save a program in Python?

Save the code as a .txt file.

Use a spreadsheet program to save the code with a .py extension.

Use a text editor to save the code with a .py extension.

Use a word processor to save the code with a .py extension.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to run a program in Python?

start program.py

python filename.py

run program.py

execute program.py

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you open a program in Python?

run program_name

open program_name

import program_name

start program_name

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process called when you fix mistakes in a program?

coding

programming

compiling

debugging

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you save a program with the file extension .py?

Change the file type to .py in the Save As dialog box.

Add the .py extension to the end of the file name.

Rename the file and include .py at the end.

Provide the desired name for the file followed by the .py extension.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to execute a Python program?

execute filename.py

start filename.py

run filename.py

python filename.py

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you open a Python program in the IDLE?

Double-click on the Python program file to open it in IDLE.

Right-click on the Python program file and select 'Open with IDLE'.

Type 'open' followed by the name of the Python program in the IDLE console.

Open the IDLE application and select 'File' > 'Open' to open a Python program.

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term used for identifying and correcting mistakes in a program?

debugging

fixing

programming

debuggingg