stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Artificial Intelligence and Python Programming Flashcards | StudBud
Explore
/
Artificial Intelligence and Python Programming
Artificial Intelligence and Python Programming
10 terms
·
StudBud Administration
·
303 plays
Imported from external platform
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
All Python functions like the
print
and
input
functions must be written in lower-case (small letters).
True
False
2
What does the
input()
function in Python do?
Outputs a text to the screen
I don't know
Asks for an INPUT/ respond from the user
Does nothing
3
What will be the OUTPUT on the screen?
I have no idea
Spaghetti
print(myFavFood)
myFavFood
4
In Python, what will I get when I type 3+3*2
8
10
12
9
5
Variable names cannot contain SPACES. For example:
"my age"
is not a valid variable name.
False
True
6
Artificial Intelligence (AI) is a machine or robot's ability to mimic / copy human intelligence.
True
False
7
Which code below is correct?
Print(Hello)
PRINT('HELLO')
print('Hello')
Print('Hello')
8
Python is a programming language used to develop which popular applications?
Instagram
Tik Tok
YouTube
All of the above
9
In Python, which function is used to OUTPUT text to the screen?
input
if
output
print
10
When the code cannot run because of an invalid syntax, you get a .................. ?
Schoolboy error
User error
Syntax error
Logic error