1/59
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Integer
Which type of variable represents a whole number in computer programming?
Variable
What describes a named storage location that can hold values that can change?
The name should have an appropriate meaning
What is one standard rule for a variable name?
Selection
Which coding construct allows a choice between performing an action and skipping it?
65
What is the value of the expression a + (b / c) * d - e if a = 19, b = 6, c = 2, d = 20, and e = 14?
A List
A varying-length, ordered collection of homogeneous items that allows for easy access, insertion, and removal
The item removed is the one that has been in the shortest time.
How are items added and removed from a stack
List
The collection of customers for a small business is stored in such a way that a customer can be easily accessed, deleted, or added.
Passes the address, rather than the content, of the argument to the function
What describes a reference parameter
num_d
Which variable name represents an argument
my_function(num_a)
num_c = process(num_1)
store(num_c)num_b = my_function(num_d)
Organizes a program into smaller components that bundle together fields and methods
What does the object-oriented programming paradigm do to solve a programming problem?
Logic
Which programming paradigm is a subset of the declarative paradigm?
Maintain The Program
A software development team is building a new mobile application for performing the secure transfer of cryptocurrency. To ensure an efficient approach, they decide to follow the software development lifecycle (SDLC) model.
Code the program
A programmer has been asked to lead a project that uses artificial intelligence to search for patterns in Wi-Fi signals to improve efficiency and range. The programmer will use the software development lifecycle (SDLC) as a model for design and implementation.
Analysis and Specification
A software engineer is leading a project to create a module in self-driving cars that compares the car's speed with the speed limit. To solve this problem, the engineer is using the computer problem-solving process.
Implementation
A computer scientist is working to optimize an algorithm that finds the shortest driving distance between cities and wants to utilize the computer problem-solving process for this project.
Put the program into production
A programmer is developing a mobile application that can stream music to a wide variety of external devices. The company at which the programmer works uses the software development lifecycle (SDLC) model for product development. For this project, the "test the program" step has just been completed.
Algorithm development
A computer scientist is developing a new program that will process stock market data. The computer scientist is following the computer problem-solving process and just completed the analysis and specification phase.
Hold paramount the safety, health, and welfare of the public
Which commitment is part of the Code of Ethics from the Institute of Electrical and Electronics Engineers (IEEE)?
Contribute to society and human well being
What is one of the key aspects of the Association of Computing Machinery (ACM) Code of Ethics?
Access computing and communication resources only when compelled by the public good
What does a technology company need to commit to if adopting the Association of Computing Machinery (ACM) Code of Ethics?
An executive eliminates all professional development opportunities for employees.
What is considered an ethical violation by both the Association of Computing Machinery (ACM) and the Institute of Electrical and Electronics Engineers (IEEE)?
Creative Commons License (CC)
An independent author is releasing a novel under a license that allows free use and distribution of the book, as long as the distribution is non-commercial and credit is given to the original author.
What is the name of this type of license?
A teenager uses social media to repeatedly and anonymously threaten and spread rumors about a classmate.
What is one situation that illustrates cyberbullying?
It will never look at every value
What is one characteristic of the binary search algorithm?
It sorts data by building the final sorted list one item at a time, placing each new item into its correct position.
What describes the way that the insertion sort algorithm operates?
Bubble Sort
What is the name of the algorithm with the general strategy of swapping adjacent values that are out of order, ending each pass at one end of the list?
Linear
In order to locate a last name in a phone book, a person starts at the very first entry and moves ahead one at a time. When the person reaches a name that comes alphabetically after the one for which they are looking, they stop and conclude that the name is not in the phone book.
Which term describes the algorithm used in this scenario?
Event Controlled loop
What describes the programming structure that terminates an otherwise indefinitely repeating process when a certain condition becomes true?
"Here" if the value of myNum is greater than 0 and "There" otherwise
Sample code is shown.
IF (myNum > 0)
Print "Here"
ELSE
Print "There"
What is the result of this code?
It prints "There" if the value of myNum is less than or equal to 0 and "Here" otherwise.
Consider the following code.
IF (myNum > 0)
Print "Here"
ELSE
Print "There"
What does the code do?
The user inputs 15 values, and the product of those values is printed.
Sample code is shown.
Set counter to 0
Set product to 1
while (counter < 15)
Read num
Set product to product * num
Set counter to counter + 1
Print product
What does the code do?
It prints 25 stars
Sample code is shown.
Set counter to 2
while (counter < 27)
Print "*"
Set counter to counter + 1
What does the code do?
myFloat x = a / 1.0
Which pseudocode example is one way to convert the integer a to a floating point number?
9
What is the value of the expression e // d if e = 19 and d = 2?
e // c
Which pseudocode gives the same result as int(e / c) if e = 39 and c = 10?
Timesharing
What is the term that describes a technique that allows multiple users to interact with a computer at the same time?
A process is loaded into one designated memory block that follows the operating system.
What occurs in single contiguous memory management?
A process no longer needs to be stored in a single memory block.
What is a benefit to using paged memory management?
The operating system's table of partition addresses will change as programs load and finish their execution.
What is one characteristic of the dynamic-partition technique for creating partitions in partition memory management?
New
Which term refers to the state of a process when it is being created?
Nonpreemptive
What is the name of the CPU scheduling method in which a running process is not interrupted and is allowed to finish before another process starts?
Delete
Which operation is common to most file systems?
The file is seen as a linear structure with no random access.
Which statement describes a characteristic of sequential file access?
Absolute path
Which term describes a path that represents the complete and specific location starting from the root directory and ending at a file or a directory?
Relative Path
What is known as a path that specifies the location of a file or a directory starting from the current working directory?
Organizing the store of data on memory storage devices
What is one thing that all file systems are responsible for?
py
Which file extension is commonly used for program source files?
Program Counter
What is something found in every computer system?
Memory Unit
What is one example of a major component of the von Neumann architecture?
It adds, subtracts, multiplies, and divides numerical data.
What is the purpose of a computer system's arithmetic/logic unit within the von Neumann architecture?
Control unit
Which component is inside the central processing unit (CPU) in the von Neumann architecture?
Fetching an Instruction
What is a function of the control unit in a computer system?
All nodes are connected to a single cable through which data is transmitted.
How is a bus topology set up in a local area network (LAN)?
Wide Area Netword (WAN)
What is the name of the network used to connect devices over a large geographic area using long-distance communication links?
Telnet
What is one technology that represents a high-level network application protocol?
Repeater
Which piece of hardware is used primarily for networking?
Mainframe
Which term describes a large, powerful computer used for critical applications, bulk data processing, and large-scale transactions?
A computer that enables smart functionality in everyday objects such as thermostats, lights, and appliances
What is an IoT device?
Server
Which type of computer is typically the most expensive?