Cit237 Programming and Algorithms Summary
Cit237 Programming and Algorithms Summary
_____ are languages through which we can instruct the computer to carry
out some processes or tasks.
Programming languages
______ languages are languages through which we can instruct the computer
to carry out some processes or tasks.
Programming
Programming languages can be used to execute a wide range of_____, that is,
an instruction could be executed through more than a procedure of
execution.
Algorithms
A ______ is a set of codes that instructs the computer to carry out some
processes.
Program
______ is a set binary coded instruction, which consists of zeros (0) and ones
(1).
Machine language
_____ language is a set binary coded instruction, which consists of zeros (0)
and ones (1).
Machine
The first generation of computers was coded in machine language that was
specific to each model of computer
The _____ generation of computers was coded in machine language that was
specific to each model of computer
First
The first generation of computers was _____ in machine language that was
specific to each model of computer
Coded
The first generation of computers was coded in machine language that was
specific to each ______
of computer.
Model
______ consists of some symbolic codes, which are easier to remember than
machine codes.
Low Level Language
MIS means______
Management Information System
The _____ programming community has been active since the early 1960s.
artificial intelligence
The artificial intelligence programming community has been active since the
early_____.
1960s
______ are those who design and maintain the basic software that runs
systems – operating system components, networks software, programming
language compilers and debuggers, virtual machines and interpreters, and
so on.
System programmers
In order to type any program on the keyboard and save the program on a
disk, it will be necessary to run a program called an_____.
______ are languages through which we can instruct the computer to carry
out processes and tasks.
Programming languages
A ______ is a set of codes that instructs the computer to carry out some
processes while programming is the act of writing programs.
Programme
The _____ must be sure that he understands the problem and how to solve
it.
Programmer
The planning of the solution to the problem in the first stage takes place in
_____ stage.
Design
The three popular methods used to develop the logic plan are:
Flowcharts
A pseudo code
A top-down chart
The three popular methods used to develop the logic plan are:_____
Flowcharts, a pseudo code, and a top-down chart
The ______uses the algorithm devised in the design stage along with the
choice of the programming language he got from stage three.
programmer
The programmer uses the algorithm devised in the design stage along with
the choice of the programming language he got from stage______.
three
_____ process involves the location and removal of error in the program if
any.
Testing and Debugging
_____ remarks consist of statements in the program that are not executed,
but point out the purpose of various parts of the program.
Internal documentation
The process of _____ involves reading the source code, checking for errors in
the source code and converting it to an executable format (machine code) if
no error is detected, else the process of compilation is aborted and an error
is reported.
Compilation
STL means______
Standard Template Library
______ involve using representative data to test the logic of the algorithm by
hand to ensure that it is correct.
Planning
______ process involves the location and removal of errors ( if any) in the
program .
Testing and debugging
The _____ phase is the testing phase whereby the programmer confirms that
the algorithm yields the desired result for the right input that is in a
reasonable amount of time.
Algorithm evaluation
In_____ phase, we check the efficiency of the algorithm in terms of time and
space which are termed as time efficiency and space efficiency respectively.
Algorithm analysis
______ are algorithms that do not recall back the same algorithm or function.
Non-recursive algorithms
______ are algorithms that have the same function calling themselves.
Recursive algorithms
_____ should “flow” from the top of the page to the bottom.
Flowcharts
Flowcharts should _____ from the top of the page to the bottom.
Flow
ANSI means______
American National Standards Institute
______ is done in a way that the program is run on some test cases and the
results of the program’s performance are examined to check whether the
program is working as expected.
Program testing
______ is designed to verify that the developed system and programs work
correctly.
Structural System Testing
______ consist of valves with fractional parts. Examples are 257.29, 20.10,
11.00, etc.
Real numbers
The standard real data types are:
• Real
• Single
• Double
• Extended
ASCII means______
American Standard Code for Information Interchange
An ______ can be defined as sequences of objects all of which are of the same
type that are collectively referred to by the same name.
Array
A _____ is a data structure in which insertion and deletion can only be done
at one end (called the TOP).
Stack
A stack is a data structure in which insertion and deletion can only be done
at one end called the_____.
TOP
LIFO means______
Last-In-First-Out
Unlike the stack, a ______ is a data structure with two ends, in which an
insertion is made at a end (REAR) and a deletion is done at the other end
(FRONT).
Queue
A ______can also be defined as a binary tree with keys assigned to its nodes.
Heap
_____ deals with the space required for an algorithm to run efficiently.
Space Efficiency
The _____ efficiency of an algorithm is an input (or inputs) of size n for which
the algorithm runs the fastest among all possible inputs of that size.
best-case
The answer to this question turns out to be no. In fact, some decision
problems cannot be solved at all by any algorithm. Such problems are
called______.
Undecidable
The problem in question is called the ______ : given a computer program and
an input to it, determine whether the program will halt on that input or
continue working indefinitely on it.
Halting problem
A _____ takes both I and S as its input and outputs yes if S represents a
solution to instance I.
deterministic algorithm
______ can be used to solve problems that have many solutions but where
some solutions are better than others.
Hill climbing
Hill climbing is used widely in ______fields, for reaching a goal state from a
starting node.
artificial intelligence
A _____ (or any other grid) is a sequence of moves by a knight chess piece
(which may only make moves which simultaneously shift one square along
one axis and two along the other) such that each square of the board is
visited exactly once.
knight's tour of a chessboard
______ discovered another linear time algorithm and proved that it solves the
Hamiltonian path problem for all n ≥ 5.
Conrad et al. (1994)
Which of the options divide its input's elements according to their position
in the array?
Mergesort
Which of the options divide its input's elements according to their value?
Quicksort
The artificial intelligence programming community has been active since the
early______
1960s
_______ sort can compare adjacent elements of the list and exchange them if
they are out of order
Bubble
The _____ allows a program to be retrieved from the disk and amended as
necessary.
Editor
The more frequently used natural measures of size for a situation where the
choice of a parameter indicating an input size is not really a factor is called
______ order n.
Matrix
Algorithms that do not recall back the same algorithm or function are
referred to as being______
Non-recursive
The major standard integer data-types are real, single, double and______
Extended
The object code is the result of the compilation process and it is also
referred to as the_____ code
Target
The two major reasons for documentation are _____ and extensibility
Clarity
The two major reasons for documentation are clarity and ______
extensibility
______ is a data structure in which insertion and deletion can only be done
at one end
Stack
VGA means______
Vitual Graphic Interface
_______is a data structure in which insertion and deletion can only be done
at one end
Stack
_______programmers are those who design and maintain the basic software
that runs the system
System
_______ is the path that starts and ends at the same vertex and passes
through all the other vertices exactly once
Hamiltonian circuit
The languages through which we can instruct the computer to carry out
some processes is called_____
Programming
A set of codes that instructs the computer to carry out some processes is
called_____
A program