
Introducción a la programación en Python
Authored by GUILLERMO TIRADO
Information Technology (IT)
9th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A variable in Python is a method to define classes.
A variable in Python is a space in memory that stores data and is assigned a name.
A variable in Python is a command to execute functions.
A variable in Python is a specific data type.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in Python?
var x = 10;
x = 10
x : 10
let x = 10;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is the if statement used in Python?
The if statement is used to execute code conditionally in Python.
The if statement is used to import modules in Python.
The if statement is used to create loops in Python.
The if statement is used to define functions in Python.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the else statement do in a condition?
The 'else' statement executes a block of code if the previous condition is false.
The 'else' statement always executes regardless of the condition.
The 'else' statement terminates the execution of the program.
The 'else' statement is used to define a new condition.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an elif in Python?
The 'elif' is a variable that stores values in Python.
The 'elif' is a type of loop in Python.
The 'elif' is used to define functions in Python.
The 'elif' in Python is a way to add additional conditions in an 'if' control structure.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you compare two values in Python?
They are compared using the 'compare()' function from the standard library.
They are compared by concatenating strings.
They are compared using comparison operators like '==', '!=', '<', '>', '<=', '>='.
They are compared using mathematical functions like 'sum()' and 'max()'.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What operator is used for equality in Python?
===
!=
=
==
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
ICT BEL 1
Quiz
•
1st Grade - University
8 questions
Quiz Webinar: Perbedaan Karir Backend dan Frontend
Quiz
•
9th - 12th Grade
10 questions
Understanding User Interfaces and Programming
Quiz
•
9th Grade - University
10 questions
Chapter 20 - Spreadsheets
Quiz
•
9th Grade
10 questions
9A Q2 ( 19 to 23 October )
Quiz
•
9th Grade
10 questions
Computers Software
Quiz
•
9th Grade
12 questions
Тест з теми 'Списки – змінювані послідовності'
Quiz
•
7th Grade - University
10 questions
Phishing Awareness Quiz
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
20 questions
Exponent Rules Review
Quiz
•
8th - 9th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade