FA1 "Introduction in programming" Flashcards

1
Q

The Instructions written in 0s and 1s are called source code.

True or False

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It is also called executables that consist of binary instructions

Machine language programs

Assembly language

Programs

Fulfillers

A

Machine language programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

Testing and Debugging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Syntax error and Logical error are collectively known as Bugs.

True or False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Pseudocode is different from algorithm by the fact that they are expressed in program language like constructs.

True or False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Computer hardware can understand only the high-level languages

True

False

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

It is a sequence of instructions written to perform a specified task for a computer

Pseudocode

Machine Language

Computer Program

Flowchart

A

Computer Program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The programs created using low-level language runs on different machines with little change or no change at all.

True

False

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

A

logical error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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

A

False. Design phase

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A way of translating source code in which each statement is translated individually and executed immediately after translation

Linker

Interpreter

Compiler

Executor

A

Interpreter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Each class of computer has its own particular machine language

True or False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Computer cannot understand mnemonics in assembly language, thus a translator is used called Assembler.

True or False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

A

Requirement Analysis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Developing a program involves steps similar to any problem-solving task.

True or False

A

True

17
Q

Determine the input to achieve the desired outputs is part of System Design.

True or False

A

Fasle

18
Q

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

A

True

19
Q

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

A

It requires very less time for their execution.

20
Q

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

A

documentation

21
Q

in OOP, problem is decomposed into a number of entities called procedures

true or false

A

False. its POP

22
Q

when your program is finalized, free of errors and logic works, documentation is prepared

true or false

A

True

23
Q

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

A

testing and debugging

24
Q

It is also called executables that consist of binary instruction

machine language programs
assembly language
programs
fulfillers

A

Machine Language programs

25
Q

An English-like nonstandard language that lets you state your solution to a problem.

pseudocode
procedure
algorithm
flowchart

A

psuedocode

26
Q

It is a programming style that allows splitting those instructions into procedures.
Group of answer choices

Builder

Object-oriented

Procedural

Compiler

A

Procedural

27
Q

Assembly language programs must be translated into machine instructions, using an ________

A

assembler

28
Q

Interpreter or compiler is used to convert high-level language to low-level language.
Group of answer choices

True

False

A

True

29
Q

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

A

Assembly Language

30
Q

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

A

Low-level language instructions are machine-dependent

31
Q

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

A

3,1,2