stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
6th Grade End of Year Flashcards | StudBud
Explore
/
6th Grade End of Year
6th Grade End of Year
29 terms
·
StudBud Administration
·
166 plays
Imported from external platform
Flashcards
29 cards
F
Practice quiz
P
Host live
L
Questions
29
Answers
1
What is the function of a computer’s motherboard?
To manage the power supply
To cool down the CPU
To connect and allow communication between all hardware components
To store programs
2
What will the following code print?
I love pizza!
"I love + food!"
I love + food!
I love sushi!
3
What is the correct way to print a message in Python?
PRINT("Hello")
Print("Hello")
print["Hello"]
print("Hello")
4
It is important to collect data from multiple sources before making a decision.
False
True
5
Which Python line correctly takes input from a user?
input What is your name?
input("What is your name? ")
Input("What is your name?")
get_input("What is your name?")
6
What is an operating system?
A tool used to browse the web
A type of hardware that connects computers
A master software that manages computer hardware and software
A program that helps users write Python code
7
Which of the following lines of code correctly takes a user’s name as input?
input(name: "What is your name? ")
name = input("What is your name? ")
name: input("What is your name? ")
What is your name? = input(name)
8
Which line of code stores the string "Lydia" in a variable called name?
name = "Lydia"
"Lydia" = name
name + "Lydia"
name: "Lydia"
9
What is a variable in Python?
A built-in error message
A password protection tool
A function that prints data
A storage location for values like text or numbers
10
What is a web browser used for?
To search for and view websites on the Internet
To write and test code
To clean up your hard drive
To store documents
11
What is a string in Python?
A built-in function for printing text
A variable used to store only one letter
A number used for math operations
A sequence of characters enclosed in quotes
12
Which of these is NOT a valid Python variable name?
STUDENTNAME
_studentName
student_1
5student
13
What does the input() function do in Python?
Asks the user for input
Adds two numbers
Defines a variable
Displays a message on the screen
14
What is the role of the CPU in a computer?
It runs programs and performs calculations
It manages wireless connections
It stores files and applications
It controls the screen brightness
15
Everything you read on the Internet is true.
True
False
16
What does the hard drive do in a computer?
Permanently stores data and files
Displays the user interface
Runs the operating system
Controls the mouse and keyboard
17
What happens when this code runs?
It prints “Hello, name!”
It asks for the user's name and prints a greeting
It prints only “Hello!”
It gives an error
18
What does the print() function do in Python?
Clears the screen
Sends data to the internet
Stores information
Displays a message on the screen
19
What is an operating system responsible for?
Managing user files
Controlling devices
All of the above
Detecting program errors
20
What is the main purpose of RAM in a computer?
It contains built-in startup instructions.
It stores data permanently.
It protects against malware.
It determines how much memory applications can use.
21
Which of the following is a valid variable name in Python?
user name
user_name
3username
username!
22
What is the main function of computer RAM?
To connect hardware parts
To control the display output
To store files permanently
To temporarily store data for active programs
23
Who might want to track your online activity?
All of the above
Government agencies
Hackers
Advertisers
24
Which of the following is a valid Python variable name?
student name
1student
student-name
student_name
25
What is typecasting in Python?
Writing Python code
Printing text to the screen
Converting one data type into another
A way to store numbers in a list
26
Which line of code will correctly display the text: “Hello, world!”
print = "Hello, world!"
PRINT("Hello, world!")
print("Hello, world!")
print["Hello, world!"]
27
What will be the output of this Python code? print("Let's" + " code!")
Let's code!
Error message
Let's + code!
"Let's" + " code!"
28
Which of the following is an example of a float in Python?
"7.14"
"7"
7
7.14
29
What is binary in computing?
A number system using only 0s and 1s
A way to display colors on a monitor
A tool for organizing folders
A system of code used to write emails