Docsity

Computer Science Essentials EOC Questions with Corr, Exams of Nursing

Toggle sidebar
bg1
Computer Science Essentials EOC
Questions with Correct Answers
Backlog - ANSWERSA sequential and prioritized list of what needs to be done to create
the app the user wants. The list can be technical requirements or user centric in the
form of user stories.
Code - ANSWERSA set of program instructions.
Input - ANSWERSInformation or signals entered into a computer system. Examples of
input devices are buttons, keys on a keyboard, touch screens, and accelerometers.
Output - ANSWERSInformation or signals produced or delivered by a computer system.
Block-based programming language - ANSWERSA means to create computer
programs by manipulating elements graphically rather than using text. Also called visual
programming language.
Syntax - ANSWERSThe set of rules that defines the combinations of symbols that are
considered to be correctly structured in that language. The grammar and spelling of
text-based programming languages.
Abstraction - ANSWERSA technique or process that manages complexity in a program
or computer system. Abstraction "hides" details or removes duplication, allowing the
programmer to focus on high-level considerations and functions rather than the rules of
a programming language.
App - ANSWERSA software application, especially one that a user downloads to a
mobile device.
Feature - ANSWERSA function of an application or user interface.
TEMP - ANSWERSThe acronym for Term, Example, Meaning, Picture; a vocabulary
building strategy.
Component - ANSWERSA function or artifact in an app that you can add in Design view
of MIT App Inventor. Examples of components are: Canvas, Camera, Label, Slider,
Sound, Horizontal arrangement, Button.
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Computer Science Essentials EOC Questions with Corr and more Exams Nursing in PDF only on Docsity!

Computer Science Essentials EOC

Questions with Correct Answers

Backlog - ANSWERSA sequential and prioritized list of what needs to be done to create the app the user wants. The list can be technical requirements or user centric in the form of user stories. Code - ANSWERSA set of program instructions. Input - ANSWERSInformation or signals entered into a computer system. Examples of input devices are buttons, keys on a keyboard, touch screens, and accelerometers. Output - ANSWERSInformation or signals produced or delivered by a computer system. Block-based programming language - ANSWERSA means to create computer programs by manipulating elements graphically rather than using text. Also called visual programming language. Syntax - ANSWERSThe set of rules that defines the combinations of symbols that are considered to be correctly structured in that language. The grammar and spelling of text-based programming languages. Abstraction - ANSWERSA technique or process that manages complexity in a program or computer system. Abstraction "hides" details or removes duplication, allowing the programmer to focus on high-level considerations and functions rather than the rules of a programming language. App - ANSWERSA software application, especially one that a user downloads to a mobile device. Feature - ANSWERSA function of an application or user interface. TEMP - ANSWERSThe acronym for Term, Example, Meaning, Picture; a vocabulary building strategy. Component - ANSWERSA function or artifact in an app that you can add in Design view of MIT App Inventor. Examples of components are: Canvas, Camera, Label, Slider, Sound, Horizontal arrangement, Button.

Event - ANSWERSAn action or occurrence that happens during runtime that will trigger a response or behavior by the software. An event can be user input, such as clicking a button, or external, such as a device receiving an SMS text message. Event handler - ANSWERSIn MIT App Inventor, a control block that looks for inputs or events to know when to perform a specific action. Procedure - ANSWERSA sequence of actions or instructions to follow in solving a problem or accomplishing a task. Also called subprogram, a procedure is a group of statements that may be used at one or more points in a computer program. In MIT App Inventor, many commonly used procedures (procedure blocks) are premade. Debug, Debugging - ANSWERSTo identify errors or bugs in computer hardware or programs and fix them. Iteration - ANSWERSA process of repeating a set of instructions a specified number of times or until a condition is met. Such as in a repetition of a process or a newer version of development in computer science. Variable - ANSWERSThe smallest unit of data storage that a program can use. A variable contains known or unknown information referred to as a "value". Two types of variables are global and local. Argument - ANSWERSThe values that a program provides to a function or subroutine. Sometimes coding professionals use the terms "argument" and "parameter" interchangeably. In this course, argument is a better choice because Python does not use the term parameter. Integer - ANSWERSA whole number that does not have a decimal or any digits after the decimal. Float - ANSWERSA type of number that provides very precise information by including all the numbers after the decimal. Strings - ANSWERSText or characters displayed by a program. In MIT App Inventor Blocks view, the text string block lets you manage how text, also known as strings, are seen by the user of an app. Boolean - ANSWERSA data type that only has two values, usually denoted as true or false. Concatenation - ANSWERSA joining together of separate items —without changing them—into one place. For example, the concatenation of two strings such as "Hello" and "world!" would return "Hello world!".

Incremental counter - ANSWERSA loop that changes the value of a count by a certain amount every time an event occurs. Decremented - ANSWERSreduced in number by one Loop - ANSWERSA sequence of instructions that continually repeats until a condition is met. Problem Decomposition - ANSWERSThe process of breaking a complex problem or system into parts that are easier to conceive, understand, program, and maintain. Local Database - ANSWERSA storage space on a device used to store information from an app. Index - ANSWERSA specific location by order for an individual element in a list. The position of an item in a list is often called its index. In MIT App Inventor, the first item in a list has an index of 1, the second has an index of 2, and so on. In Python, the first index is represented by 0. The plural form is indices. API - ANSWERSAn application programming interface is a set of program routines, protocols, and tools that facilitates communication with a client app that is designed specifically for the server. A client computer program can send instructions to the server and get data from the server through the API. Hack - ANSWERSA term used to describe when someone uses technology to gain access to something they would not otherwise have access to. White Hat Hacking - ANSWERSEthically testing a system to find and fix weaknesses. Endpoint URL - ANSWERSA specific URL location that allows a device to interact with a web server to modify or collect data. If you enter the URL for an endpoint into a browser, you can see details about the service. Algorithm - ANSWERSA set of steps to accomplish a task. An algorithm can be expressed in many kinds of notation, such as natural language, pseudocode, and flowcharts. Algorithms are essential to the way computers process data, because they contain the specific instructions for what a computer or program does. Procedural abstraction - ANSWERSThe process of applying or using a procedure and only knowing what the procedure does, without knowing how it does it. Usability - ANSWERSThe quality of how easy is it for a user to use an app without any explanation outside of the app.

Decompose - ANSWERSTo break down a complex problem or system into smaller parts that are more manageable and easier to understand. Function - ANSWERSIn programming, a named section of a program that performs a specific task. A function is a block of organized and reusable code that performs a single action. A function can be a procedure or a subroutine. In a sense, many of the blocks in MIT App Inventor can be thought of as functions. In Python there are many built-in functions, because all programmers need many of the same actions to be executed often. Method - ANSWERSA function that is a member of a class. Modulo - ANSWERSA mathematical operator that performs division, but returns the remainder. Hard coding - ANSWERSsetting data, parameters, and conditions that make the program only behave differently when the programmer changes the code directly. It does not allow for varied user input. Best-so-far loop - ANSWERSA piece of code (loop) that contains a variable which stores the "best" value as defined by the programmer. Each time the code executes the loop, the program evaluates whether it finds a "better" value as defined by the programmer. If it finds one that is better, then it replaces that variable value with the new value and continues until it reaches the end of the list. Accumulator - ANSWERSA role that a variable may take on in which it keeps a running or cumulative total or value. Commonly an accumulator is initialized outside of a loop, assigned new values within the loop, and then its result is used outside of the loop. Scrum - ANSWERSAn iterative and incremental development process used by a team of developers to create a product that benefits from input from multiple stakeholders. Decomposition - ANSWERSAn essential concept in computer science like abstraction, algorithms, and pattern recognition. Decomposition is the process of breaking a complex problem or system into parts that are easier to conceive, understand, program, and maintain. Ill-defined problem - ANSWERSA problem that is not well defined by anyone. The problem situation has many contributing factors and cannot be easily understood and a solution is not readily available. Integrated Development Environment (IDE) - ANSWERSA software application that brings together the tools necessary to write, test, and debug computer programs while they are developed.

Version Control System - ANSWERSAny means by which people working with information can track changes, prevent conflicting data, and keep track of the most current version of their files. Boolean value - ANSWERSOne of two values, such as "true" or "false", that allows a computer to know what step in the conditional statement process to execute next. Chained conditional statement - ANSWERSA series of conditionals that a computer moves through until it finds the one that is true. Branch - ANSWERSAn alternative path through a program, often occurring as the result of the evaluation of an expression in a conditional. Data type - ANSWERSA classification of data or "class type" that defines what a data item is or is not, such as integer, float, string, or Boolean. Type - ANSWERSThe kind of data stored in a variable. Syntactically - ANSWERSAccording to the rules of syntax. Bash - ANSWERSA command processor that typically runs in a text window. Bash is a text-based way to manipulate a computer's file structure and execute commands. Bash can also read commands from a file, called a script. In Cloud9, it is also called the Python Interactive Interpreter. (Bourne Again Shell) Terminal - ANSWERSThe area in Cloud9 where you can write and save Python programs. When you name and save a file, the File tab shows the .py file extension, which indicates that you are in the programming terminal. If the .py extension is not there, then it is not possible to run the program. Return Value - ANSWERSThe value a computer returns after completing a function. Assignment Operator - ANSWERSA symbol in code that assigns values from the right side of an equation (called an operand) to what is on the left side of the equation. Assigning a value to a variable is a classic example that uses the "equal to" assignment operator. (Example: color = 255). Equality Operator - ANSWERSAn operator that compares values. An example of a numerical equality is testing whether a conditional statement returned the value you were looking for (8=8). Underscore case - ANSWERSA style of writing where the underscore character (_) is substituted for spaces and everything is lowercase. For example, underscore_case.

CamelCase - ANSWERSA style of writing file names that avoids spaces and other characters and differentiates words based on capitalization. For example, LastnameFirstname. Many programming languages require no spaces in file names. Tracer round program - ANSWERSA highly abstracted program that implements only the most basic and necessary structures without implementing the more specific details. List object - ANSWERSA collection of data values that do not have to be the same type. Each item in a list is called an element. Element - ANSWERSA single entry of a list. An element can be different data types, such as integer, float, string, or Boolean. Class - ANSWERSA template for creating objects. A class is a grouping of functions and associated data into a cohesive unit. A class specifies the methods and attributes (also called properties) that are related to an object. When an object is created from a class, the resulting object is called "an instance of the class". Post - ANSWERSA list that contains a class of objects, such as in social media posts. Skeleton Code - ANSWERSA program that has many missing pieces to be filled in. Often skeleton code contains comments to inform the programmer what kind of code needs to go where, so others can take the tracer round of the program and modify it for their own needs. Object-oriented programming - ANSWERSA style of programming language that focuses on creating reusable patterns of code, in contrast to procedural programming, which focuses on explicit, sequenced instructions. Object - ANSWERSAn instance of a class. A class is a template/blueprint that describes the behavior/state that an object of its type supports. For loop - ANSWERSA control flow statement that allows a set of instructions to be executed repeatedly. A for loop is usually used when the number of iterations is predefined "execute this loop so many times". Otherwise, a programmer might use a while loop, which would execute the loop repeatedly as long as a certain condition is met. While loop - ANSWERSA control flow statement that is a repeating if statement. The while loop will continue to execute indefinitely long as the condition being evaluated is true. Range loop/function - ANSWERSA function that identifies a number to start at, a number to stop at, and how much to change by each time the program executes the loop. The function will loop as many times as necessary until it gets to the end value.