Computer Science Review Flashcards

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

flashcard set

Earn XP

Description and Tags

These flashcards cover key concepts from computer science, particularly focusing on logic circuits, programming concepts, cybersecurity, algorithms, and data representation.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

(D) There is no value of A such that the output of the logic circuit will be false.

What value of A would make the output of the logic circuit false?

2
New cards

In the following code block, what does the condition "NOT (Rainy OR too_cold)" check?

If it is not rainy and not too cold.

3
New cards

What concept is described by having additional pathways in a network for reliability?

Redundancy.

4
New cards

Which action poses the greatest risk to internet privacy?

(C) Encrypting your files and sharing your private key.

5
New cards

What is the purpose of a swap function in programming?

To exchange the position of two values at specified indexes in a list.

6
New cards

What is the disadvantage of the open standard of Internet addressing?

It makes it easy to censor websites and is vulnerable to denial of service attacks.

7
New cards

In public-key encryption, who encrypts the message with the recipient's public key?

Alice encrypts her message with Bob's public key.

8
New cards

Which bases can the number "12" be represented in?

(C) Decimal and Hexadecimal.

9
New cards

Which of the following can be represented by 3 bits?

The seven days of the week.

10
New cards

Which type of chart is best for displaying individual data points from a survey?

(D) Scatter Plot.

11
New cards

What is a key benefit of using simulations for architecture safety testing?

Ensure safety without endangering people.

12
New cards

Which algorithms involve selection and iteration for processing card data?

(A) and (C).

13
New cards

What would be the output of the program displaying (item MOD 3) from the list [1, 3, 5]?

(D) 1, 0, 2.

14
New cards

What is the output of the following logic circuit if the inputs are both true?

(B) At least one input must be true.

15
New cards

What is the main concept of lossy compression?

It loses some data and cannot perfectly reconstruct the original data.

16
New cards

What statement describes calculating the sum of a list with improper initialization of a sum variable?

It resets and only displays the last item value.

17
New cards

What will happen to the original data when using lossy compression?

Some data will be permanently lost.