Unit 1 All Quiz Questions

Ace your homework & exams now with Quizwiz!

What is the base 16 value equivalent of 101011011 base 2?

15B

What are the next three values in this base 10 sequence? 16, 17, 18

19, 20, 21

What is the base 10 value equivalent of A25 base 16?

2,597

What is the base 8 value equivalent of 90F base 16?

4,417

What is the base 16 value equivalent of 92 base 10?

5C

What is the base 10 value equivalent of 76 base 8?

62

What is the base 8 value equivalent of 110011 base 2?

63

What is the next value in this base 16 sequence? 7, 8, 9

A

What is the next value in this base 2 sequence? 1000, 1001, 1010

1,011

Using the flowchart below, what will be output?

10

What is the next value in this base 8 sequence? 5, 6, 7

10

What is the base 2 value equivalent of 39 base 10?

100,111

What is the base 2 value equivalent of F4 base 16?

11,110,100

What is the base 2 value equivalent of 704 base 8?

111,000,100

What is the base 8 value equivalent of 76 base 10?

114

What is the base 10 value equivalent of 1110011 base 2?

115

What is the base 16 value equivalent of 456 base 8?

12E

Choose the statement that best classifies the identifier creation guideline shown. Identifiers should be meaningful

Good idea

Choose the statement that best classifies the identifier creation guideline shown. Variable names should be abbreviated

Good idea

A programming language using words and commands easy for humans to understand and organize, but which must be translated into machine language or object code for the computer to understand and execute

High-level language

The stage in the software system life cycle that writes the program using a suitable programming language.

Implementation (Coding)

A term in OOP related to encapsulation, sometimes called "information hiding", that indicates the concept where a programmer hides all but the relevant data and processes about an object in order to reduce complexity and increase efficiency.

Abstraction

The concept in programming where a feature is used without knowledge of the inner workings of it.

Abstraction

Development process that achieves production in small steps, where design, implementation, and testing occur during each step

Incremental

One of the three pillars of object oriented programming that allows for classes to be defined based on previously defined and developed classes, receiving all of the characteristics of the pre-defined class, and then expanding on those features, identified as an "is a" relationship.

Inheritance

The concept where an object uses characteristics of another object, and then expands on them.

Inheritance

Which object-oriented programming concept is described by the following: Class Jaguar is defined based on all the characteristics of class LuxuryCar.

Inheritance

A development process currently in use by many software companies that involves the use of sprints on a monthly or weekly basis throughout the span of the project.

Agile

The stage in the software system life cycle that determines the overall needs of the project.

Analysis

A programming language that uses mnemonic opcodes, such as mov, sto, and load, to interact directly with a computer's CPU and registers, used by expert programmers to produce highly efficient and fast programs

Assembly Language

Design strategy of using pre-existing modules to put together a project.

Bottom-up

A general-purpose programming language designed in the late 70s by Bjarne Stroustrup as an extension to the C language with object-oriented data abstraction mechanisms.

C++

A compiled, English-like computer programming language designed for business use, designed under the leadership of Commodore Grace Hopper.

COBOL

The practice of using capital letters and lowercase letters to enhance the readability of programmer created multi-word identifiers for variables, method names, and class names.

CamelCase

This module in some programming languages typically starts with an uppercase letter.

Class

Which term below best describes the process where the instructions from a program are converted all at once, and then executed?

Compiling

In object-oriented programming, this is the process of combining simpler data types into more complex data types, often using the phrase "has a" to describe the relationship.

Composition

Which object-oriented programming concept is described by the following: A certain class GraduateStudent is partially made up of predefined classes PersonalData and CourseLoad.

Composition

Choose the statement that best classifies the identifier creation guideline shown. Class names start with an upper case letter

Convention

Choose the statement that best classifies the identifier creation guideline shown. Method names start with a lower case letter

Convention

Which object-oriented programming concept is described by the following: Class Cupcake inherited a method from class Dessert and redefined it.

Polymorphism - overriding

Which object-oriented programming concept is described by the following: A parent class J has child classes K and L, and can reference objects of either class.

Polymorphism - polymorphic referencing

Which object-oriented programming concept is described by the following: Class Car has several methods, all named openDoor, but which work in different ways.

Polymorphism - overloading

Development process that combines features of other development models into a cyclical process, including several phases, one of which is risk analysis.

Spiral

The process of breaking down large modules of a project into smaller, more manageable modules, a key part of the top down design process.

Stepwise refinement

A system of using rules to control various aspects of the implementation process of a program that enhances readability and functionality, such as indenting, spacing, naming identifiers, use of comments, and documentation.

Style conventions

A procedural programming language, named in honor of a 17th century French mathematician, designed in the late 60s by Niklaus Wirth.

Pascal

The concept in programming where certain features of an object can take many forms.

Polymorphism

A concept that indicates how an entity contains processes that work, but how they function internally is hidden from the user of that entity.

Abstraction

Identify the data type for this value: "" (no space between quotes)

string

The concept where all of the characteristics and processes of a feature are included within that feature's definition.

Encapsulation

Using the flowchart below, what will be the result if score is 183?

FAIL

A diagram that uses geometric shapes connected by arrows to indicate the step-by-step process of a project.

Flowchart

One of the original high level languages created by John Backus to make programming easier for math and science applications.

Fortran

Choose the statement below that best classifies the following identifier example. 4Gone

Invalid - does not start with a letter or underscore

Choose the statement below that best classifies the following identifier example. him and her

Invalid identifier - contains spaces

Choose the statement below that best classifies the following identifier example. float

Invalid identifier - programming language reserved word

A general-purpose computer programming language that is class-based and object-oriented, where source code programs are compiled into bytecode files, which are then interpreted by each machine based on its own architecture.

Java

A language easily understood and executed by a computer, like machine language or bytecode.

Low Level

The language directly understood and executed by a computer, consisting of pure 0s and 1s.

Machine language

The stage in the software system life cycle that manages the software project after it has been rolled out and put into use.

Maintenance

The stage in the software system life cycle that takes the most amount of time.

Maintenance

Which object-oriented programming concept is described by the following: A process in class H is defined in several different ways, but achieves the same result.

Polymorphism

A programming paradigm that uses objects and classes.

OOP

Project design strategy of using interacting objects.

Object Oriented

Using the flowchart below, what will be the result if score is 284?

PASS

A formal comment block that describes what a process needs in order to be effective.

Precondition

An informal high-level description of the operating principle of a computer program or other algorithm.

Pseudocode

A widely used general-purpose, high-level programming language, with a design philosophy that emphasizes code readability.

Python

The term describing programs that are virtually unbreakable and able to handle any and all situations.

Robust

Choose the statement that best classifies the identifier creation guideline shown. No spaces or invalid symbols.

Rule

Choose the statement that best classifies the identifier creation guideline shown. Variables start with a letter or the underscore character

Rule

The rules of punctuation and grammar for a programming language is often referred to as _______________.

Syntax

Using the flowchart shown below, what will be the result if the score is 183, and the next decision is "Yes"?

Take Exam

The stage in the software system life cycle that checks the program for reliability, validity, and effectiveness.

Testing

Identify the data type for this value: "JBO"

string

Which of the following best describes the purpose of creating a flowchart as part of the design of a computer program?

To graphically display the steps needed to solve the programming problem

The general approach of having a goal in mind and then dividing the goal into sub-goals and tasks, sometimes also referred to as step-wise refinement.

Top down

This technique is used in some programming languages to provide input protection in order to make the program more robust.

Try catch block

A diagram used to represent the overall structure of an object-oriented class design.

UML

A visual organizer developed to graphically show objects and their contents.

UML/Unified Modeling Language

Choose the statement below that best classifies the following identifier example. floated

Valid

A software system is to be developed for which the requirements are well understood and the risk of failure is minimal. To meet these requirements, which of the following software development models would be most appropriate to use?

Waterfall

Identify the data type for this value: false

boolean

Identify the data type for this value: true

boolean

Below is a collection of declared variables to represent various information about a person. Which one appears to be declared incorrectly? String name //the first or last name of this person boolean age //the whole number age of this person double wage //the hourly rate of pay for this person int weight //the whole number weight in pounds for this person char gender //the single letter M or F, indicating the sex of this person

boolean age

Identify the data type for this value: ' ' (single blank space)

char

Identify the data type for this value: 's'

char

A programmer has been asked to design a program for a micro-biologist to keep track of data measurements of cellular organisms, which require the highest level of storage precision. Which of the data types listed below would be the best choice for storing this type of data?

double

Identify the data type for this value: -999.99

float

Identify the data type for this value: 0.0

float

Identify the data type for this value: 3.14

float

Identify the data type for this value: -45

int

Identify the data type for this value: 0 (the value zero)

int

Identify the data type for this value: 45

int

The most appropriate way to use a library of program code is to access the:

methods or functions by way of the interface.

A programming entity during the actual execution of a program that encapsulates data and related methods into one package.

object

A program is considered to be ____________ when it can handle gracefully any and all negative issues that might occur during program execution, such as bad input or division by zero.

robust

A programmer needs a data type that will store the age of a person as a whole number, but wants to be as efficient as possible to conserve memory. Which of the following choices represents the best choice for this situation?

short

Identify the data type for this value: " " (single blank space)

string


Related study sets

Estructura 2.4 Numbers 31 and higher: ¡Inténtalo! ¡Inténtalo! Fill in the blanks by spelling out each number in Spanish. Follow the model.

View Set

Chapter 5 supply chain management

View Set

Test 4: Lesson 3. Solving Power Calculations

View Set

Chapter 48 Care of Patient with Ear and Hearing Problems

View Set

NURS 1240 Clinical Judgement EAQ

View Set

Where is agriculture distributed?

View Set

Final Exam HUM (Fill In the Blank)

View Set

6 skill related components of physical fitness

View Set

Civics End of Course Practice Exam

View Set

Oxford Discover 6 Unit 10 Vocabulary

View Set

Ch 13. The Byzantine Empire and Crisis and Recovery in the West

View Set