stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
checkpoint1-G8 Flashcards | StudBud
Explore
/
checkpoint1-G8
checkpoint1-G8
10 terms
·
StudBud Administration
·
333 plays
Imported from external platform
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
Which of the Artificial Intelligence big ideas uses sensors?
societal impact
perception
machine learning
representation and reasoning
2
Which command will correctly create a list?
UAE = [“AUH”: “AJM”: “DXB”]
UAE = {“AUH”, “AJM”, “DXB”}
UAE = (“AUH”, “AJM”, “DXB”)
UAE = [“AUH”, “AJM”, “DXB”]
3
Which python operator means ‘less than or equal to?
+=
>=
==
<=
4
What is the correct output of the following code?
The third option
Error
The second option
The first option
5
Which of these is a main programming construct?
dictionary
selection
tuple
function
6
Which of these is a type of array?
library
index
tuple
file
7
Which command should you use to repeat something 5 times?
for A in range(0,5,2):
for A in range(1,6):
for A in range(1,11):
for A in range(5,11):
8
What does the following code do in python?
It opens a file called UAEflagcolours.txt, writes .
It creates a file called UAEflagcolours.txt, writes , then closes the file.
It opens the file UAEflagcolours.txt, writes , starts a line, then close.
It deletes a file called UAEflagcolours.txt and starts a new line.
9
What data type should you use to describe one of two values, like True or False?
Boolean
string
float
integer
10
What is the correct output of the following code?
chair table
table desk
there will be an error
table stool