FA1 "Introduction in programming" Flashcards
The Instructions written in 0s and 1s are called source code.
True or False
False
It is also called executables that consist of binary instructions
Machine language programs
Assembly language
Programs
Fulfillers
Machine language programs
During this phase of Program Development Cycle, we check whether the code written is solving the specified problem or not.
System Design
Documentation and Maintenance
Testing and Debugging
Coding
Testing and Debugging
Syntax error and Logical error are collectively known as Bugs.
True or False
True
Documentation phase ends by writing a manual that provides an overview of the program’s functionality, tutorials for the beginner, in-depth explanations of major program features, reference documentation of all program commands and a thorough description of the error messages generated by the program.
True or False
True
Pseudocode is different from algorithm by the fact that they are expressed in program language like constructs.
True or False
True
Computer hardware can understand only the high-level languages
True
False
False
It is a sequence of instructions written to perform a specified task for a computer
Pseudocode
Machine Language
Computer Program
Flowchart
Computer Program
The programs created using low-level language runs on different machines with little change or no change at all.
True
False
False
The programmer runs a program that multiplies two numbers. He inputted 10 and 5 as the numbers. But on the screen the result is 5, which error do you think is committed by the programmer?
semantic error
syntax error
run-time error
logical error
logical error
In Program Development Cycle, when you analyze requirements you include already selecting the appropriate programming language to be used in creating the program.
True
False
False. Design phase
A way of translating source code in which each statement is translated individually and executed immediately after translation
Linker
Interpreter
Compiler
Executor
Interpreter
Each class of computer has its own particular machine language
True or False
True
Computer cannot understand mnemonics in assembly language, thus a translator is used called Assembler.
True or False
True
During this phase of Program Development Cycle, it involves the collection of information and the definition of the characteristics or features of the desired system.
Group of answer choices
Requirement Analysis
Coding
System Design
Documentation and Maintenance
Requirement Analysis
Developing a program involves steps similar to any problem-solving task.
True or False
True
Determine the input to achieve the desired outputs is part of System Design.
True or False
Fasle
The tool you use should be a compiler and/or an interpreter, depending on the language you’re working with and your needs.
True or False
True
Which of the following is not an advantage of high-level language?
It can be run on a variety of computer types.
It uses English-like instructions which can be understood by the users.
It requires very less time for their execution.
It can find errors which you can easily modify
It requires very less time for their execution.
It is a written detailed description of the programming cycle and specific facts about the program. Also, it includes necessary instructions on the use and maintenance of the program/software (product).
documentation
debugging
packaging
blueprint
documentation
in OOP, problem is decomposed into a number of entities called procedures
true or false
False. its POP
when your program is finalized, free of errors and logic works, documentation is prepared
true or false
True
During this phase of program development cycle, we check whether the code written is solving the specified problem for not
system design
documentation and maintenance
testing and debugging
coding
testing and debugging
It is also called executables that consist of binary instruction
machine language programs
assembly language
programs
fulfillers
Machine Language programs
An English-like nonstandard language that lets you state your solution to a problem.
pseudocode
procedure
algorithm
flowchart
psuedocode
It is a programming style that allows splitting those instructions into procedures.
Group of answer choices
Builder
Object-oriented
Procedural
Compiler
Procedural
Assembly language programs must be translated into machine instructions, using an ________
assembler
Interpreter or compiler is used to convert high-level language to low-level language.
Group of answer choices
True
False
True
A programming language with symbolic names for opcodes, and decimals or labels for memory addresses
Group of answer choices
Machine language
C++
COBOL
Assembly Language
Assembly Language
The following are advantages of low-level language except __________
Group of answer choices
It requires very less time for their execution.
A computer can easily understand the low-level language
Low-level language instructions are executed directly without any translation.
Low-level language instructions are machine-dependent
Low-level language instructions are machine-dependent
The correct order of steps in testing and debugging of phase is _____.
Debug the program
Run real data
Perform desk-checking
Group of answer choices
3,2,1
3,1,2
1,3,2
1,2,3
3,1,2
Interpreter or compiler is used to convert high-level language to low-level language.
Group of answer choices
True
False
True
It is also be referred to as imperative programming.
Group of answer choices
Object-oriented
Procedural
Logical
Functional
Procedural
The tool you use should be a compiler and/or an interpreter, depending on the language you’re working with and your needs.
Group of answer choices
True
False
True
Computer hardware can understand only the high-level languages
Group of answer choices
True
False
False
Programming paradigm is a way to classify programming languages based on their _________
Group of answer choices
readability
translator
features
data types
features
It is the most common error and incorrect use of programming language statements.
Group of answer choices
logical error
semantic error
syntax error
run-time error
syntax error
The actual writing of the program is based on the design specifications
Group of answer choices
True
False
True