AP Computer Science Principles Q&A Verified Exam
AP Computer Science Principles Q&A Verified Exam 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. - ANS-D- We do not need to know how a procedure works only that it does. The details are hidden or abstracted away inside the procedure's code. What do the 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 - ANS-A- Parameters allow a procedure to be more flexible by allowing different values from the program to be sent to the procedure. The code does not have to be re-written each time it needs to be used in the program. 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. - ANS-D- Cleaning data refers to taking raw data and checking it for errors. These errors could be corrupt, incomplete, or duplicate data. Cleaning could include either correcting or removing the identified data, depending on the specifications for a particular dataset. What causes a problem to be classified as "intractable"? (A) The solution is too inefficient for large data sets. (B) There is not an algorithm that can solve it. (C) It is solved most efficiently with large data sets (D) Multiple algorithms exist with different levels of efficiency. - ANS-A- Intractable problems may have an algorithm that can solve some or a small number of values, but as the dataset grows large, the algorithm cannot be used due to a lack of resources, either memory or storage. What are statements, procedures, and libraries examples of? (A) Low-level machine code that the computer uses to run the code. (B) Abstractions used in writing software because they can be used without knowing the details of how they work (C) Algorithms that provide suggestions on how to approach writing the code to solve a problem (D) Pseudo code that helps design a solution for coding challenges. - ANS-B- These are some of the abstractions that can be used in writing software. What is an issue that organizations must handle when dealing with large data sets? (A) Ensuring enough staff are on hand to process the data (B) Ensuring the bandwidth can handle the processing of the data (C) Ensuring that people's private data is not exposed (D) Ensuring the system can scale down after the data are sent to the cloud - ANS-C- organizations handling large datasets must protect the data to ensure people's private information is not accidentally revealed. How does the Internet work with different equipment in use? (A) The routers adjust for the different equipment manufacturers by sending data on the same equipment brands (B) Specific companies are approved to make equipment for the Internet (C) Vendors follow the protocols established to enable data to be sent and received across any equipment... Continues...
Written for
- Institution
- AP Computer Science Principles Q&A Verified Exa
- Course
- AP Computer Science Principles Q&A Verified Exa
Document information
- Uploaded on
- November 18, 2023
- Number of pages
- 22
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- what causes a pro
-
ap computer science principles qa verified exam
-
how are procedures abstractions in computer scienc
-
what do the parameters used in a procedure provide
-
what happens when you clean data
Also available in package deal