
module 0

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
dylan dylan
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is an algorithm?
A set of instructions to solve a problem.
A data structure used to store data.
A programming language syntax.
A random set of commands.
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of the following is NOT a property of a good algorithm?
Precision
Ambiguity
Completeness
Simplicity
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does the `len()` function in Python return?
The length of the code.
The total number of characters in a string.
The number of elements in a list, string, or tuple.
The number of loops in a program.
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
In Python, which data type is mutable?
Strings
Tuples
Integers
Lists
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What will be the output of the following code? ```python x = [1, 2, 3] y = x y.append(4) print(x) ```
[1, 2, 3]
[1, 2, 3, 4]
[1, 2, 3] and an error
An error occurs
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which Python statement will correctly loop through a list?
`for x in range(list):`
`for x in list:`
`while x in list:`
`for x in list.length:`
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does the following function do? ```python def mystery(a, b): return a + b if a > b else b - a ```
Adds a and b when a > b; subtracts otherwise.
Always adds a and b.
Always subtracts b from a.
Compares and returns the larger value.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python general Quizz

Quiz
•
12th Grade
16 questions
HTML Questions (100 Marks)

Quiz
•
9th - 12th Grade
14 questions
Data Structures Quiz

Quiz
•
9th - 12th Grade
20 questions
quiz1B1

Quiz
•
7th Grade - University
16 questions
2.3 Programming Data Review

Quiz
•
9th - 12th Grade
15 questions
Bài 24

Quiz
•
10th Grade - University
15 questions
Quiz Informatika Genap KLs 7

Quiz
•
7th Grade - University
15 questions
Quiz Pemrograman Python

Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area

Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade