WGU Introduction to Computer Science Pre-Assessment
- studiers in 3 days Leave the first rating
Students also studied Terms in this set (60) Western Governors UniversityICSC 2211 Save Introduction to Computer Science - ...203 terms Pete1230zPreview WGU D684 - Practice Test 20 terms Bernaldavid187 Preview
Western Governors University D684:...
180 terms justlivinePreview WGU In 1,863 ter you IntegerWhich type of variable represents a whole number in computer programming?Integer Array Float String VariableWhat describes a named storage location that can hold values that can change?Operand Identifier Variable Constant The name should have an appropriate meaning. What is one standard rule for a variable name?The name must use hyphens between words.The name must start with a lowercase letter.The name must start with the type designation.The name should have an appropriate meaning.SelectionWhich coding construct allows a choice between performing an action and skipping it?Input/output Assignment Selection Iteration
65What is the value of the expression a + (b / c) * d - e if a = 19, b = 6, c = 2, d = 20, and e = 14?65 132 226 426 A varying-length, ordered collection of homogeneous items that allows for easy access, insertion, and removal What is a list?A group in which individual elements are accessed from the same end that is called the top A group of related attributes stored as individual fields under a single name and treated as a single concept A fixed-length collection of homogeneous items that can each be accessed by its position 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 to and removed from a stack?All items can be added to or removed from any location.All items can be accessed or changed but not easily inserted or removed.The item removed is the one that has been in the shortest time.The first item to be added becomes the first item removed.ListThe collection of customers for a small business is stored in such a way that a customer can be easily accessed, deleted, or added.What is the data structure called for in this programming situation?Queue Record Stack List Passes the address, rather than the content, of the argument to the function What describes a reference parameter?Stops the content of the argument from changing anywhere in the program Passes the address, rather than the content, of the argument to the function Allows the user to type in the content of an argument at runtime Passes a copy of the content in an argument to the function
num_dThe code shows a subprogram and a call to that subprogram.my_function(num_a) num_c = process(num_a) store(num_c)num_b = my_function(num_d) Which variable name represents an argument?num_a num_b num_c 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?Enforces a specific type on each variable and strict rules about how types are used Organizes a program into smaller components that bundle together fields and methods Uses the structures of logic to deduce the answer from the facts and rules Solves a problem by breaking it down into procedures or functions LogicWhich programming paradigm is a subset of the declarative paradigm?Logic Imperative Object-oriented Procedural Maintain the programA 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.Which step will the team expect to go through as part of this process?Carry out the plan Look for familiar things Divide and conquer Maintain the program Code the programA 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.Which step is the programmer in when choosing a programming language and typing the code?Maintain the program Translate the code Code the program Put the program into production
Analysis and specificationA 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.Which phase is the engineer in when defining the problem?Maintenance Analysis and specification Algorithm development Implementation ImplementationA 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.Which phase is the computer scientist in when translating a planned sequence of steps into a programming language?Algorithm development Implementation Analysis and specification Maintenance Put the program into productionA 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.Which step is next in the SDLC?Put the program into production Code the program Plan the logic Translate the code Algorithm developmentA 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.Which phase is next in this process?Ask questions Look for familiar things Algorithm development Maintenance 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)?Know and respect existing rules pertaining to professional work Design and implement systems that are robustly and usably secure Hold paramount the safety, health, and welfare of the public Promote new technologies through mainstream and other media