COSC 236 Notes 2

True of False? Algorithms are precursors to programs; they are not programs.

True

Java use the Scanner class to ____.

Obtain user-end input from the keyboard

A Wizard does what?

A sequence of dialog boxes that helps the user one step at a time to lead to
an end result

What are the three phases of an application development life cycle?

Problem Solving, Implementation, Maintenence

True of False? Flow charts can be used to represent an algorithm and is a
useful tool a developer can use to plan a solution before coding.

True

Machine language can be described as "the binary __/__ instructions and/or
lowest level of coding".

0/1

Which of the following is NOT a declaring variable?

string sLastnameParent;

Which of the following statements about Syntax is true?

The set of rules that determine how instructions are written in a programming
language

Which of on these isn't an example of a floating point variable?

string

Which one of these doesn't a fully qualified file name include?

Browser

What are the two categorical numeric data types?

Integral and floating point

True or False? Mac OS X is a type of operating system which is usually found
on Apple devices.

True

What is a Pane?

To organize a the workspace, an application's window is often broken down into smaller

What is not a Java data type?

c++

Where are variables named in the computer?

RAM

The data type specified when declaring a variable determines all of the following except:

initialize the variable

Java has unsigned integers

False

GUI - who invented it?

Xerox

What is pseudocode?

English representation of key statements

What is an algorithm?

the idea of how one is going to solve a problem

Which is not a primitive type?

String

Java uses the Scanner class for console input.

True

Rational numbers can be perfectly represented

False

VMS is an example of a user interface

True

Console output is accomplished by using the Java System.out.println(); method.

True

After prompting the user for an input what class is used to capture that input?

Scanner class

Variables are a subclass of the ____ class

Integers

All are examples of declaring variables

Int iCount;
Double dCost;
Boolean bActive;

The implementation phase specifically include(s) _________________________.

Testing

Algorithms are __________________________.

Precursors to programs.

Programs are also referred to as _________________.

Apps
Code
Software

What region of memory are variables written to?

Hard drive

Fill in the blank. Java uses the _________ class to obtain end-user input from the keyboard.

Scanner

What method accomplishes the console output?

System.out.println();

There are three main categories of numeric data types.

False

Java uses the Scanner class to obtain end-user input.

True

Is The .NET Environment : Microsoft's framework for programmers to develop new applications.

True

What is the name of the value that also has a limit, particularly the number of significant digits to the right of the decimal point

Floating Point

What is the process going from source code to an executable program, including compiling and linking called?

Build

What is the maximum value an integer can hold?

182

When is it best to use a float rather than a double?

If memory is constraint

What are the three phases of the Application Development Lifecycle?

Problem-solving, Implementation, Maintnance

What is the lowest level of Programming Language?

Machine Language

What are the two main types of numeric data types?

Intergral and Floating point

Which programming language follows the same standards as English?

Source program

Which data type provides the most percision when receiving input?

Double

What is considered the precursor to programs?

Algorithms

Which one of these is NOT part of the maintenance phase?

Analysis check

What are pseudocodes most commonly used for?

Describing your code

What does GUI stand for?

Graphical User Interface

Floating-point values are limited

True

All real numbers can be perfectly represented in a digital computer

False

The scanner class includes methods that can be applied to expected data that the user will enter.

True

Console output is not accomplished by invoking the java System.Out.Print () ;

False

Name 3 types of scanner methods used in java

1. nextDouble;
2. nextLong();
3. String nextLine()

A program that written in a yet higher-level language and tends to be more English-like is ______.

Source Program

The syntax is the set of rules that determine the meaning of instructions in a programming language.

False

Variables _____.

-is a subclass of the "identifiers" class
- are named regions of memory (RAM) in a computer
-store data values

The data type specified when declaring a variable determines

-how much RAM is allocated
-how data is internally represented
-the minimum and maximum values that can be stored
-the operations that can be performed on that data

____ is the next lowest-level language.

Assembly language

Data types for variables are selected by the programmer based on the job to be performed

True

Syntax refers to the ____

set of rules that determine how instructions are written in a programming language.

In computer science variables are ____

A named region of memory.

What is a flow chart?

A tool a developer can use to plan the solution before coding begins.

There are two main categories of numeric data types.

True