AP Computer Science Flashcards

1
Q

(1.1) Three students are working on creating an app for a computer science project. They completed an initial version of the app and now just finishing conducting two different focus groups-one for parents and one for young kids. The students discuss their notes and observations from the focus groups the next day at school.
The next day comes but one student doesn’t show up to school. All of the following are ways that the three students can still collaborate EXCEPT

A. The remaining students have a discussion on their own assuming that the missing student’s observations are similar to theirs.
B. The remaining students type their observations into an online document that the missing student comments on.
C. The remaining students plan on visiting the missing student after school to go over the notes and observations.
D. The students plan on discussing their notes and observations via video chat.

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

(1.1) Three students are working on creating an app for a comp sci project. They have completed an initial, working version of the app and they would like to hold a focus group to receive feedback on how to make their app appealing to young kids.

Which of the following would be the best means of enlisting participants for the focus group?

A. Asking friends and fam
B. Calling random numbers in a phone book
C. Passing out flyers to parents at an elementary school
D. Posting an interest survey on social media.

A

C

(D is incorrect bc posting an interest survey on social media is similar to asking friends and fam since those are the ppl who are most likely to see the post)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

(1.1)Three students are working on creating an app for a comp sci project. They have completed an initial, working version of the app and they would like to hold a focus group to receive feedback on how to make their app appealing to young kids. They decide to conduct two different focus groups-one for parents and one for young kids.
Which of the following options best explains whether holding the focus groups is a form of collaboration?

A. Holding the focus group is a form of collaboration bc the students are gaining insight from parents and young kids.
B. Holding the focus groups is a form of collaboration bc the participants are contributing to the success of the app
C. Holding the focus groups is not a form of collaboration bc the participants are not contributing directly to changes in the app.
D. Holding the focus groups is not a form of collaboration bc the students were the initial creators of the app.

A

A.
B is incorrect bc it does not best capture why holding the focus groups is a form of collaboration.
C is incorrect bc the participants are providing feedback on the app which will help the students improve the app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Collaborative spreadsheets are now common tools for ppl to use and share info in real time. An ex of collaborative spreadsheet software is Google Sheets.

Of the following situations, which are most conducive for using collaborative spreadsheet software instead of using standalone spreadsheet software?

Two answers:
A. A team of engineers records their indi test results, which are monitored by a supervisor every hour
B. A financial analyst needs to consolidate the company’s financial numbers and present it to management at a meeting later in the day.
C. Each day, students in an AP Comp Sci Prin class record how many hours of sleep they received the previous night, and the average is reported to the class.
D. A statistician needs to import a file of survey data into a spreadsheet, analyze it, and publish the results in a medical journal.

A

A and C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is pair programming?

A

A collaborative process where two people share a single workstation. One person takes the role of a programmer and is stationed at the workstation writing code, while the other person observes and reviews what is being typed. This is a process that involves a lot of communication. On a fairly frequent basis, the roles are switched so that the person who was entering the code is not the reviewer, and the reviewer is not entering the code.

They share ideas frequently, share one workstation for their combined work, and two people write the code together.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Is bias one of the benefits that comes from communicating in collaboration?

A

No.
- team building benefits
- subject matter benefits
- increase in new perspectives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following is considered a computing innovation that fosters collaboration between individuals?

Video Conferencing Technology
E-Commerce Websites
Digital movie
Whole-house solar battery

A

Video Conferencing Technology and E-Commerce Websites

Both are computing innovations that use software to enable people to collaborate more easily.

Video conferencing hardware and software such as ZOom bring ppl together through devices including computers and cell phones equipped with cameras and microphones

E-Commerce is like Amazon, where ppl can build hopping lists and wish lists, and share them with others to facilitate ordering nad delivery of essential items.

digital movie projection is a form of entertainment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Neural Networks are being used extensively to make computers more autonomous. These operations, however, require the computer to process large amounts of data to interpret patterns.

Which of the following is not an example of such a pattern-searching process?

a. An online search engine analyzing previous search history to suggest news and information
b. An e-commerce store that suggests new products to customers based on their previous purchases
c. A bank analyzing transactions on a client’s account to find anomalies
d. A university using scores from the final term exams to find the top ten best-performing students

A

D.

The online search engine, e-commerce stores, and banks much analyze patterns to find crucial info for their operations.

However, the university example is diff bc the data is very limited and is only looking for info that would help arrange the students in a particular order (not looking for a pattern)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A DISPLAY command can show a num variable that holds an integer value. What would the following code display if it is executed?

DISPLAY (num MOD 10)

A

The integer remainder operation is the MOD (aka modulus)

The quotient that results when the num value is divided by 10

ex/ DISPLAY (17 MOD 10)

the quotient will be 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A software development company breaks down its software projects into small modules so that coders can develop chunks of the code separately and then to the project once completed. What development process is the company following?

a. Additive
b. Incremental
c. Iterative
d. Spiral

A

The answer is Incremental.

Incremental development process = allows it to break the requirements of the project down into small modules.

Iterative development process = a process where the design is improved by repeated review and testing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the incremental development process?

A

Allows it to break the reqruiments of the project down into small modules.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the iterative development process?

A

A process where the design is improved by repeated review and testing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A programmer has developed an algorithm that computes the sum of integers taken from a list. However, the programmer wants to modify the code to sum up even numbers from the list. What programming structure can the programmer add to do this?

a. Sequencing
b. Iteration
c. Selection
d. Searching

A

Selection
the current program = does not differentiate between even and odd numbers. To give the code the ability to discard odd numbers, the program must have a selection criterion that would allow it to judge and take only those values which meet the reqruiment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

You connect a new device to your Wi-Fi internet connection at home. What will happen next?

a. The device will be assigned a new device driver
b. The device will be assigned a new IP address
c. The device will be assigned a new packet number
d. The device will be assigned a new Web address

A

B: After connecting a new device to the internet, the router’s DHCP server will assign a new IP address to the device. This address works as an identity of the device, which is needed to communicate over the internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
A