Font size
WorksheetsCSP - UT State Skills Test Review
Total questions: 100
Worksheet time: 1hrs 2mins
Why is collaboration crucial when developing computing innovations?
It reduces the time needed to develop solutions.
It offers additional opportunities to find solutions.
It increases the cost of development.
It limits the number of perspectives.
What should be investigated to understand the purpose of a program?
The hardware specifications.
The user interface design.
The situation, context, or task.
The marketing strategy.
Which of the following is NOT a data type?
Char/Strings
Float/Double
Boolean
Array
What are the types of errors that need to be identified and corrected in algorithms and programs?
Logic, run-time, and syntax errors
Compilation, linking, and execution errors
Design, implementation, and testing errors
User, system, and network errors
Which file size is the largest?
Petabyte
Gigabyte
Terabyte
Megabyte
What is the binary (base 2) equivalent of the decimal (base 10) number 5?
101
110
111
100
Which of the following best describes a lossy compression algorithm?
Compression algorithm in which some of the data from the original file is lost.
Compression algorithm in which file size is reduced without any quality loss.
Compression algorithm that increases the file size.
Compression algorithm that does not change the file size.
Which of the following is an example of a data type?
Integer
Function
Loop
Algorithm
Match the following descriptions with their corresponding terms:
Parentheses
1 in order of operations in mathematics
Exponents
2 in order of operations in mathematics
Multiplication/Division
3 in order of operations in mathematics
Addition/Subtraction
4 in order of operations in mathematics
What is the purpose of the MOD operator in mathematical expressions?
To find the remainder of a division operation
To multiply two numbers
To add two numbers
To subtract one number from another
What is one of the tasks involved in input/output operations in programming?
Receive and store user input
Create a new variable
Define a function
Write a loop
What is string concatenation?
A method to split a string into multiple parts
A method to join two or more strings end-to-end to make a new string
A method to reverse a string
A method to convert a string to uppercase
Which of the following is a relational operator?
AND
OR
==
NOT
Which of the following is a logical operator?
==
>
AND
<
What is the purpose of conditional statements in programming?
To repeat a block of code multiple times
To make decisions based on certain conditions
To join multiple strings together
To call functions or methods
Which of the following is an example of an iteration statement?
IF statement
ELSE IF statement
FOR loop
String concatenation
What is the purpose of calling procedures/functions/methods in programming?
To evaluate expressions
To make decisions based on conditions
To execute a block of code when called
To join multiple strings together
What is the role of protocols in the Internet?
To split data into multiple parts
To transfer data between systems
To reverse data
To convert data to uppercase
Which of the following is NOT a component of how the Internet works?
Fault Tolerance
Protocols
HTTP
String concatenation
What is the difference between the Internet and the World Wide Web?
The Internet is a global network of networks, while the World Wide Web is a collection of information accessed via the Internet.
The Internet is a collection of information, while the World Wide Web is a global network of networks.
The Internet and the World Wide Web are the same.
The Internet is used for email, while the World Wide Web is used for browsing.
What is the primary purpose of the HTML programming language in web development?
To create animations
To structure a website
To manage databases
To design graphics
Which of the following is NOT an example of an HTML element tag?
<h7>
<!DOCTYPE html>
<head>
<title>
What does the term "digital divide" refer to?
The gap between those who have access to modern computing and those who do not
The difference in computer processing speeds
The separation of digital and analog technologies
The division of tasks between different computer processors
Which of the following is a legal and ethical concern related to computing?
The speed of internet connections
The use of computing to raise legal and ethical concerns
The ease of access and distribution of digitized information
The development of new programming languages
What is the difference between Copyright, Creative Commons, Public Domain, and Trademark?
They are all the same
They are different types of intellectual property concerns
They are different programming languages
They are different types of computer hardware
What is the difference between Copyright, Creative Commons, Public Domain, and Trademark?
Copyright
An exclusive right to a work
Creative Commons
Copyrighted but can be copied
Public Domain
Not protected by copyright
Trademark
Symbols/words with exclusive rights
What are some risks to privacy from collecting and storing personal data on a computer system?
Increased storage capacity
Unauthorized access
Faster processing speed
Improved user interface
How can computing resources be protected?
By using weak passwords
By sharing passwords with others
By using strong passwords
By ignoring security updates
What is an example of malware?
Phishing
Trojan horse
Social engineering
Password strength
What is an example of social engineering?
Virus
Ransomware
Phishing
Adware
What is a key component of workplace skills?
Good communication
High typing speed
Advanced coding skills
Knowledge of multiple languages
Which skill is important for problem-solving in the workplace?
Critical Thinking
Fast typing
Multitasking
Memorization
What is the term for a problem-solving approach in which you break a large problem into smaller pieces?
Debugging
Top-Down Design
Logic Error
Syntax Error
What is the process of finding and fixing problems in an algorithm or program called?
Logic Error
Syntax Error
Debugging
Run Time Error
Which type of error is a logical mistake in the code that produces incorrect output?
Syntax Error
Run Time Error
Logic Error
Debugging
What is the term for errors which are detected and prevent the program from running?
Logic Error
Syntax Error
Run Time Error
Debugging
What is the term for an error in the code that occurs while the program is running?
Logic Error
Syntax Error
Run Time Error
Debugging
What are the physical components of a computer called?
Software
Hardware
Input
Output
What is a program or a collection of programs referred to as?
Hardware
Input
Output
Software
What is the information computers get from users, devices, or other computers called?
Output
Input
Storage
Processing
What is the information computers give to users, devices, or other computers called?
Input
Storage
Output
Processing
What is the term for saving information to use in the future?
Processing
Storage
Input
Output
What is a single binary digit represented as a 0 or 1 called?
Byte
Bit
Kilobyte
Megabyte
How many bits are in a byte?
4
8
16
32
Match these storage sizes:
Kilobyte
Approx. 1 thousand bytes
Megabyte
Approx. 1 million bytes
Gigabyte
Approx. 1 billion bytes
Terabyte
Approx. 1 trillion bytes
Petabyte
Approx. 1 quadrillion bytes
What is the action a computer performs when it receives data called?
Storage
Input
Output
Processing
What is a base-2 numbering system that computers use to process data called?
Decimal
Binary
Lossless Compression
Lossy Compression
What is a base-10 numbering system that humans typically use to process data called?
Binary
Decimal
Lossless Compression
Lossy Compression
What is a compression algorithm in which file size is reduced without any quality loss called?
Lossless compression
Data reduction
Quality compression
Lossy compression
What is a compression algorithm in which some of the data from the original file is lost called?
Data expansion
Lossy compression
Lossless compression
Data encryption
What is a finite set of instructions that accomplish a task called?
algorithm
protocol
formula
procedure
What is used to change the value of a variable?
Assignment operator (=)
Comparison operator (==)
Subtraction operator (-)
Multiplication operator (*)
What is a named value within a program called?
Variable
Function
Constant
Array
What is an ordered sequence of characters called?
String
Array
List
Tuple
What is an operator that returns the remainder of division called?
Boolean
Modulus
Which operators give a Boolean expression?
Comparison Operators
<, >, <=, >=, ==, !=
Arithmetic Operators
+, -, *, /, %
Which operators evaluate to a Boolean value?
Logical Operator
Conditional Statement
What is decision making based on a Boolean value called?
Logical Operator
NOT, AND, and OR
Conditional Statement
IF, ELSE IF, ELSE
What joins together two or more strings to make a new string?
Assignment
Concatenation
What is part of a program that repeats a specified number of times or until a given condition is met called?
Iteration/Loops
Procedure/Functions/Methods
What is a named group of programming instructions called?
Iteration/Loops
Procedure/Functions/Methods
What is a command that executes a procedure, function, or method called?
Starting the Iteration/Loops
Calling the Procedure/Functions/Methods
What is the hardware that connects computers together to transfer data?
Internet
Router
Network
Protocol
What is a global network of networks called?
World Wide Web
Internet
Network
Router
What is the collection of information accessed via the internet known as?
Internet
Network
World Wide Web
Protocol
What is the maximum amount of data that can be sent in a fixed amount of time, usually measured in bits per second?
Bandwidth
Packet
Path
Router
What is a type of computer that forwards data across a network?
Network
Router
Protocol
Bandwidth
What is the ability of a network to continue operating uninterrupted despite the failure of one or more of its components?
Bandwidth
Protocol
Fault Tolerance
Router
What is an agreed-upon set of rules for transmitting data called?
Protocol
Network
Router
Bandwidth
What does HTTP stand for?
HyperText Markup Protocol
HyperText Transfer Protocol
HyperText Transfer Path
HyperText Markup Path
What is the protocol used for transmitting encrypted web pages securely over the Internet?
HTTP
HTML
HTTPS
Protocol
What does HTML stand for?
HyperText Markup Language
HyperText Transfer Language
HyperText Markup Protocol
HyperText Transfer Protocol
What is an error in which certain elements of a data set do not accurately reflect the full population or phenomenon?
Malware
Data bias
Digital Divide
Social Engineering
What is malware that blocks access to a computer system until a "ransom" is paid?
Virus
Trojan Horse
Adware
Ransomware
What is the type of social engineering attack that attempts to trick a user into providing personal information?
Phishing
Ransomware
Adware
Virus
What is an exclusive right that is applied to tangible works?
Trademark
Public Domain
Copyright
Creative Commons
What are works which copyright is reserved but can be copied?
Public Domain
Creative Commons
Trademark
Copyright
What are symbols or words that a company has exclusive rights to use?
Copyright
Public Domain
Creative Commons
Trademark
What does the expression `a = expression` do in a program?
Displays the value of `expression` in the console window.
Accepts a value from the user and returns the input value.
Evaluates `expression` and then assigns a copy of the result to the variable `a`.
Evaluates to true if `condition` is false.
Which function displays the value of an expression in the console window?
INPUT()
DISPLAY(expression)
a = expression
MODULUS
What does the INPUT() function do?
Displays the value of an expression in the console window.
Accepts a value from the user and returns the input value.
Evaluates `expression` and then assigns a copy of the result to the variable `a`.
Evaluates to true if `condition` is false.
Which of the following is NOT an arithmetic operator?
+
-
*
MODULUS
Which of the following is an example of software?
Windows
__________ algorithms run code in order from top to bottom.
Conditional
Iterative
Sequencing
Looping
Iterative algorithms __________ actions inside the looping block.
skip
delete
refresh
repeat
What is the output?
more than 7
more than 23
spam
7
What is the output?
True
False
condition1
condition2
What is the output?
250.0
200.0
300.0
350.0
What will be displayed at the end of the program?
Case 1
Case 2
Nothing will be displayed.
Case 1 and Case 2
What is the base 10 value when the binary is 1011
(a)
Match the following literals
"1.5"
String
2.0
Float
528
Integer
False
Boolean
print("3+4")
print(9/3*2+4-5)
7 % 5
This is an example of...
calling a function
defining a function
writing a for loop
writing a comment
It's a good idea to use a for loop when you need to...
tell Karel to do something only when certain conditions are met
teach Karel a new command
repeat a step or series of steps a specific number of times
check whether a task is complete
How many times will Karel move forward when this code is run?
Zero times
One time
Six times
Seven times
