stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Computer Security and Algorithms Flashcards | StudBud
Explore
/
Computer Security and Algorithms
Computer Security and Algorithms
49 terms
·
StudBud Administration
·
14 plays
Test your knowledge on computer security concepts and algorithm design principles
Flashcards
49 cards
F
Practice quiz
P
Host live
L
Questions
49
Answers
1
Given x = 5, "(x > 3 OR x < 10)"?
Character "yes"
Boolean "false"
Integer "0"
Boolean "true"
2
What is the "digital divide"?
Age difference in users
Access to computers
Distance between computers
Math operations division
3
What is a compiler?
Executes program with data
Translates to lower-level
Translates to different high-level
Translates assembly to machine
4
Good reason for constant variables?
Use fixed values
Use large numbers
Approximate values
Use character strings
5
What describes runtime errors?
Detected during execution
Human typing errors
Confusing symbols
Algorithm doesn't work
6
What is voice recognition?
Reads books to disabled
Translates speech to data
Creates speech from text
Responds to loud noises
7
What kind of error is "if (x > b and x < b)"?
Runtime error
Syntax error
Logic error
Semantic error
8
Which is NOT a feature of good text editor?
Outputs plain text
Syntax highlighting
Easy to use
Outputs formatted.docx
9
Best example of boundary value testing?
.51, .59, .61, .62, .63
0.0, .50, .60, 100
-.50, .50, -.60, .60
.49, .50, .51, .59, .60, .61
10
Which is NOT a benefit of sequential design?
Emphasizes documentation
Clients change requirements
Structured and linear
Reduces costs later
11
Data structure for storing names?
Boolean
List
Character string
Integer
12
What is interpreted code?
Translated to user's language
Reviewed by engineer
Translated and executed line by line
Translated before execution
13
What is machine code?
Paper punch-cards
User password
Binary CPU instructions
Programming language
14
What is the "technological singularity"?
CPU power center
First computer invention
No more progress
Machines smarter than humans
15
Disadvantage of software licensing?
Limits users, costly
Doesn't match constitution
Helps big companies
Limits developer freedom
16
What is declarative programming?
Go to-free structures
Specify result, not how
Sequence of commands
Function calls, no global state
17
8 modulo 3 (8 % 3) value?
24
6
9
2
18
Data type for division with a result of a decimal number?
Floating point
Character
Integer
Boolean
19
Purpose of a CPU?
Central Processing Unit
Current Pixel Unit
Current Person User
Central Power Unit
20
Disadvantage of third party libraries?
Saves development time
Fewer errors
Not enough libraries
Untested or unreliable
21
What is object-oriented programming?
Specify result, not how
Sequence of commands
Go to-free structures
Define objects, send messages
22
Which is NOT a feature of good algorithm?
Specific instructions
Sequential steps
Everyday language
Uses math
23
What is functional programming?
Go to-free structures
Specify result, not how
Sequence of commands
Function calls, no global state
24
Which of the functions is a user defined function and not in the function library?
print()
time()
random()
myFunc47()
25
How does antivirus software protect?
Blocks unauthorized access
Erases temporary files
Slows processor
Identifies and removes code
26
Why are logic errors hard to find?
Compilers miss 10%
Inconsistent evaluation
Correct syntax, no messages
Math is difficult
27
If A and B are true, which is false?
A OR B
A XOR B
not(A) XOR B
A AND B
28
Purpose of a firewall?
Increase internet speed
Remove viruses
Share data with friends
Block unauthorized access
29
Purpose of hexadecimal in computing?
Base system in hardware
Base-6 easier to use
Express numbers efficiently
Easier math calculations
30
Component invention for personal computer?
Vacuum tube
Transistor
Television
Microprocessor
31
Construct repeats action while condition true?
"for" loop
"while" loop
"if" conditional
"print" statement
32
What is cross-site scripting?
Non-Microsoft browser
Programmers close together
Injects scripts into pages
Programs over 10K lines
33
Best practice for protecting passwords?
Use strong passwords
Keep in desk drawer
Use email for passwords
Tell trusted associates
34
Which is NOT true about Bubble sort?
Simple, very fast
Compares, swaps items
Simple sorting algorithm
Repeated until sorted
35
Construct repeats action for fixed steps?
"while" loop
"if" conditional
"for" loop
"print" statement
36
What is a function in programming?
Mathematical operation
Data transfer
Machine code
Reusable instructions
37
What is "big data"?
Large data sets for analysis
Record work for pay
Defend in lawsuits
Sell earlier versions
38
What is a software repository?
Secure original software
Memory device for data
Store software money
Storage for software packages
39
What describes spamming?
Masquerades as another
Fraudulent emails for info
Unsolicited messages
Disrupts services
40
Statement to decrement "countdown"?
countdown = countdown + 1
countdown = countdown * 1
countdown = countdown – 1
countdown = countdown – countdown
41
Which statement produces value 5?
(3 - (2 * 4 - 7) + (3 - (3 * (1/3 + 1))
(3 - (2 * 4 - 7) + (3 - (3 * 1/3) + 1)
(3 - 2 * (4 - 7) + (3 - (3 * 1/3) + 1)
3 - 2 * 4 - 7 + 3 - 3 * 1/3 + 1
42
What describes a spoofing attack?
Unsolicited messages
Masquerades as another
Disrupts services
Fraudulent emails for info
43
Largest decimal number in eight-bit byte?
512
1024
256
255
44
Values causing "if (x > 3.2)" to be false?
-3.0, 3.0, -1.0, 1.0, 0.0, 0.5, 3.7
-3.3, 3.3, -1.0, 1.0, 0.0, 0.5, 3.1
-3.3, 3.0, -1.0, 1.0, 0.0, 0.5, 3.1
-3.0, 3.0, -10, 10, 0.0, 0.5, 3.1
45
What describes a Phishing scam?
Masquerades as another
Fraudulent emails for info
Unsolicited messages
Disrupts services
46
What is a software license restriction?
Hides source code
Restricts unpaid access
Copy for family
Legal usage terms
47
What describes denial-of-service attack?
Disrupts services
Fraudulent emails for info
Masquerades as another
Unsolicited messages
48
What is Moore's law?
Restricts internet info
Users double yearly
Transistors double every 2 years
Memory decreases yearly
49
Likely error in loop ending condition?
Condition never met
No if statement
Floating point positions
Improper variable names