100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
APCSP TEST QUESTIONS AND ANSWERS $12.49   Add to cart

Exam (elaborations)

APCSP TEST QUESTIONS AND ANSWERS

 0 view  0 purchase
  • Course
  • APCSP
  • Institution
  • APCSP

APCSP TEST QUESTIONS AND ANSWERS

Preview 2 out of 12  pages

  • September 16, 2024
  • 12
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • APCSP
  • APCSP
avatar-seller
GEEKA
APCSP TEST QUESTIONS AND ANSWERS

How are procedures abstractions in computer science?
A. They are Blocks of code that do something specific
B. They represent the lowest level of code for the computer to run
C. They use actual values to represent concepts
D. They can be used without understanding or seeing the code used - Answers -D -
abstractions in code are code that is simplified

What do parameters used in a procedure provide?
A. A way to get values into the procedure making code more flexible
B. A way to return values calculated in the procedure back to the calling program
C. A way to call a procedure from within another procedure
D. A way to connect an API to the procedure - Answers -A

What happens when you "clean data"?
A. Corrupt data records are corrected or removed
B. Incomplete data records are completed or removed
C. Duplicate records are removed
D. All of the above - Answers -D - cleaning data is reorganizing and completing files

What causes a problem to be classified as "intractable"?
A. The solution is too inefficient for large datasets
B. There is not an algorithm that can solve it
C. It is solved most efficiently with large datasets
D. Multiple algorithms exist with different levels of efficiency - Answers -A - intractable is
inefficient for large datasets

How do selection statements determine which section of code to execute?
A. Through the use of the Turing algorithm for analysis
B. Through random number generators
C. Through conditions that evaluate true or false
D. Through variables initialized to execute these statements - Answers -C - selection
statements select things - yes or no, true or false

How are list elements accessed individually?
A. The list name plus an integer index in brackets are used
B. The list name is used along with the value the code needs to access
C. The "access" command is used with the list name and length
D. A FOR EACH loop is used with the list to find an individual value - Answers -A

What do logical conditions always evaluate to?
A. A Boolean value
B. A value stored in a constant
C. A "string" text feild

, D. A real number - Answers -A - anything related to logic will be Boolean (true/false,
yes/no)

What is an example of a coding-related abstraction?
A. Using comments in your code
B. The CPU (central processing unit)
C. Pressing a button on an app
D. A constant value - Answers -C - with an abstraction, you don't need to know how it
works

What is the process where algorithms are used with historical data to attempt to predict
human needs or requests for data?
A. Data mining
B. Trend prediction
C. Social analysis
D. Machine learning - Answers -D - with machine learning, you learn from and make
predictions based on trends or previous searches

There are many programming languages. How do computers understand the different
languages?
A. Testing takes care of this for computers by confirming the correctness of the code
B. Debugging handles this for computers by confirming the validity of the code
C. Compilers and interpreters translate code to machine language for computers to read
D. There is a special natural language tied to all programming languages that all
computers can read that is created behind the scenes using abstraction - Answers -C

How is a logic gate an abstraction?
A. It adds the detail needed for each logic condition possible
B. It is more specific than hardware components
C. It represents any true and false condition
D. It is an integrated system of physical components - Answers -C

How do APIs simplify writing programs?
A. By providing step-by-step instructions on how to use the programming language
B. By importing the newly written software to the API for others to use
C. By providing documentation on how to code the needed functionality
D. By connection pre-written and tested software to a new program - Answers -D -
definition of API - Application programming Interfase
Provides prewritten code to use in another coding program

While algorithms can be analyzed mathematically, what information does the empirical
testing process provide?
A. It provides best, worse, and average case information about the algorithm
B. It provides the maximum size dataset the algorithm can handle
C. It provides the validity of the algorithm

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller GEEKA. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

76669 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.49
  • (0)
  Add to cart