Final Exam: Computer Science Principles

Final Exam: Computer Science Principles

Assessment

Flashcard

Information Technology (IT)

12th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

24 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the time complexity of the binary search algorithm in the worst-case scenario?

Back

Answer explanation

The binary search algorithm divides the search space in half with each step, leading to a logarithmic time complexity. In the worst-case scenario, it takes O(log n) time to find the target or determine its absence.

2.

FLASHCARD QUESTION

Front

Which data structure is used to implement a LIFO (Last In, First Out) system?

Back

Stack

Answer explanation

A Stack is a data structure that follows the LIFO principle, meaning the last element added is the first one to be removed. This is in contrast to a Queue, which follows FIFO (First In, First Out).

3.

FLASHCARD QUESTION

Front

In programming, what is the purpose of a loop?

Back

To execute a block of code multiple times

Answer explanation

A loop is designed to execute a block of code multiple times, allowing for repetitive tasks to be performed efficiently. This distinguishes it from executing code just once or defining variables.

4.

FLASHCARD QUESTION

Front

Which protocol is primarily used for sending emails?

Back

SMTP

Answer explanation

SMTP (Simple Mail Transfer Protocol) is the standard protocol used for sending emails across the Internet, making it the correct choice. HTTP is for web traffic, FTP for file transfers, and TCP is a transport layer protocol.

5.

FLASHCARD QUESTION

Front

What is the main function of a firewall in cybersecurity?

Back

To block unauthorized access

Answer explanation

The main function of a firewall in cybersecurity is to block unauthorized access to or from a private network, thereby protecting sensitive data and systems from potential threats.

6.

FLASHCARD QUESTION

Front

Which of the following is a principle of data privacy? Data minimization, Data duplication, Data inflation, Data obfuscation

Back

Data minimization

Answer explanation

Data minimization is a key principle of data privacy, emphasizing that only the necessary data should be collected and retained. This reduces risks associated with data breaches and enhances user privacy.

7.

FLASHCARD QUESTION

Front

What is the impact of computing on employment?

Back

It both creates and eliminates jobs

Answer explanation

Computing impacts employment by both creating new job opportunities in tech and related fields, while also automating tasks that can lead to job losses in traditional roles. Thus, it both creates and eliminates jobs.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?