Computer Science Midterm Study Guide Questions
Exam With Complete Solutions
Graded A+
QUESTIONS AND ANSWERS
How are procedures abstractions in computer science? ANSWER -They can be used
without understanding or seeing the code used
What do parameters used in a procedure provide? ANSWER -A way to get values into the
procedure making code more flexible
What happens when you clean data? ANSWER -Corrupt data records are corrected or
removed, incomplete data records are completed or removed, duplicate records are removed
What classifies a problem to be classified as intractable? ANSWER -The solution is too
inefficient for large datasets
What are statements, procedures, and libraries, examples of? ANSWER -Abstractions used
in writing software because they can be used without knowing details of how they work
What is an issue that organizations must handle when dealing with large databases?
ANSWER -Ensuring that people's private data is not exposed
How does the internet work with the different equipment in use? ANSWER -Vendors
follow the protocols established to enable data to be sent and received across any equipment
What does scalability mean? ANSWER -The ability to add or remove sources as the size
changes
Why do we have high level coding languages? ANSWER -To make it easier fo people to
write code
, How can an image of a house that is used in a program represent an abstraction? ANSWER
-When pressed, the code will run to return your screen to the home page, the program
directions will drive to your house will be displayed on your devices, and data about the
smart features of your house will be displayed
How do selection statements determine which section of code to execute? ANSWER -
Through conditions that evaluate to true or false
How are list elements accessed individually? ANSWER -The list name is used along with
the value the code needs to access
What to logical conditions always evaluate to? ANSWER -A Boolean value
What is an example of a coding-related abstraction? ANSWER -Pressing a button on an
app
What is the process where algorithms are used with historical data to attempt to predict
human needs or requests for information? ANSWER -Machine learning
How do computers understand different coding languages? ANSWER -Compilers and
interpreters translate the code to machine language for computers to read
How is a logic gate an abstraction? ANSWER -It represents any true and false condition
How do API's simplify writing programs? ANSWER -By connecting pre-written and
tested software to a new program
While algorithms can be analyzed mathematically, what information does the empirical
testing process provide? ANSWER -It provides the maximum size dataset the algorithm
can handle
Why is there a need to find different algorithms for problems that already have a solution?
ANSWER -Different algorithms could be more efficient
Exam With Complete Solutions
Graded A+
QUESTIONS AND ANSWERS
How are procedures abstractions in computer science? ANSWER -They can be used
without understanding or seeing the code used
What do parameters used in a procedure provide? ANSWER -A way to get values into the
procedure making code more flexible
What happens when you clean data? ANSWER -Corrupt data records are corrected or
removed, incomplete data records are completed or removed, duplicate records are removed
What classifies a problem to be classified as intractable? ANSWER -The solution is too
inefficient for large datasets
What are statements, procedures, and libraries, examples of? ANSWER -Abstractions used
in writing software because they can be used without knowing details of how they work
What is an issue that organizations must handle when dealing with large databases?
ANSWER -Ensuring that people's private data is not exposed
How does the internet work with the different equipment in use? ANSWER -Vendors
follow the protocols established to enable data to be sent and received across any equipment
What does scalability mean? ANSWER -The ability to add or remove sources as the size
changes
Why do we have high level coding languages? ANSWER -To make it easier fo people to
write code
, How can an image of a house that is used in a program represent an abstraction? ANSWER
-When pressed, the code will run to return your screen to the home page, the program
directions will drive to your house will be displayed on your devices, and data about the
smart features of your house will be displayed
How do selection statements determine which section of code to execute? ANSWER -
Through conditions that evaluate to true or false
How are list elements accessed individually? ANSWER -The list name is used along with
the value the code needs to access
What to logical conditions always evaluate to? ANSWER -A Boolean value
What is an example of a coding-related abstraction? ANSWER -Pressing a button on an
app
What is the process where algorithms are used with historical data to attempt to predict
human needs or requests for information? ANSWER -Machine learning
How do computers understand different coding languages? ANSWER -Compilers and
interpreters translate the code to machine language for computers to read
How is a logic gate an abstraction? ANSWER -It represents any true and false condition
How do API's simplify writing programs? ANSWER -By connecting pre-written and
tested software to a new program
While algorithms can be analyzed mathematically, what information does the empirical
testing process provide? ANSWER -It provides the maximum size dataset the algorithm
can handle
Why is there a need to find different algorithms for problems that already have a solution?
ANSWER -Different algorithms could be more efficient