Question
click below
click below
Question
Normal Size Small Size show me how
CPP1 MOD 1
Module 1
Question | Answer |
---|---|
High level language uses English like instructions | True |
It is as sequence of instructions written to perform a specified task for a computer | Computer Program |
A way of translating source code in which all statements are translated and stored as an executable program, or object program; | Compiler |
In Procedure-oriented programming, a main program central controls all the procedures | True |
The execution of high level language is slower compared to low level languages | True |
The instructions written in 0s and 1s are called source code | False |
It consists of rules governing the structure and content of the statement that should be followed in a program | syntax |
Computer languages are the languages through which the user can communicate with the computer by writing program instructions | True |
A programmer writes ____ using a programming language to create programs | source code |
The following programming languages uses the compilation process except: | Python |
Alpha testing is performed by real users of the software application in a real environment | False |
In testing and debugging phase, real data is run to make sure the program works | True |
It is the step by step sequence of instructions that describe how data will be processed to produce the desired output | algorithm |
A run time error is a mistake that the programmer made while designing the solution to a problem | False |
It is a manual testing of the solution design to make sure that it is free of errors and that the logic works | desk-checking |
During this phase of Program Development Cycle, we write the solution in step by step statements | Coding |
During system design, we write the program to solve the given problem using programming languages like C, C++, Java, etc. | False |
The programmer runs a program that multiplies two numbers. He inputted 10 and 5 as the numbers. But on the screen the result only displayed 5 | logical error |
Pseudocode is different from algorithm by the fact that they are expressed in program language like constructs | True |
Which is not true about programming paradigm | Procedural, Object-Oriented, Directional, and logical are programming paradigms |
The following are advantages of low-level languages except _______ | Low level language instructions are machine dependent |
High level language is executed directly without any translation and require very less time for their execution | False |
In low level language, there is more chance for errors and it is very difficult to find errors, debug, and modify | True |
In low level language, there is more chance for errors and it is very difficult to find errors, debug, and modify | True |
In OOP, problem is decomposed into a number of entities called procedures | False |
There are lots for programming language that are known but all of them need to follow some strategy which is referred to a paradigm | True |
Instructions in ________ are written in 0s and 1 | machine language |
It is a text listing of commands to be compiled or assembled into an executable computer program | Source code |
In machine language, OFF switch is designated by a 1 | False |
System design involves the collection of information and the definition of the characteristics or features of the desired system | False |
It is the most common error and incorrect use of programming language elements | syntax error |
In this phase of the Program Development Cycle, we construct the actual program | Coding |
Coding is the fourth step in Program Development Cycle | False |
The correct sequence of the stages of program development is _________ 1. System Design 2. Requirement Analysis 3. Documentation and Maintenance 4. Coding 5. Testing and Debugging | 2,1,4,5,3 |
The actual writing of the program is based on the design specification | True |
A set of steps or phases that are used to develop a program in any programming language | program development life cycle |
When coding, follow the syntax to prevent committing errors | True |
Computer hardware can understand only the high-level languages | False |
It is a programming style that allowed splitting those instructions into procedures | Procedural |
Source code must be translated to machine language using a language barrier | False |
Programming is important for speeding up the input and output processes in a machine | True |
Each class of computer has its own particular machine language | True |
All the instructions of high level language are written in the form of binary numbers 1s and 0s | False |
In program Development Cycle, when you analyze requirements you include already selecting the appropriate programming language to be used in creating the program | False |
An english like nonstandard language that lets you state your solution to a problem | pseudocode |
It is a pictorial representation of a step by step solution to a problem | flowchart |
Requirement analysis involves the collection of information and the definition of the characteristics or features of the desired system | True |
During this phase of the Program Development Cycle, it involves the collection of information and the definition of the characteristics or features of the desired system | Requirement Analysis |
When the program is finalized, free of errors and the logic works, a documentation is prepared | True |
When the programmer runs the program, it points to a certain line of code and tells that there is a missing semicolon at the end of the statement. What do you think is this type of error | syntax error |
Check the feasibility of implementing the program is part of the requirement analysis | True |
The following are called programming languages except | Oreo |
Which of the following is not an advantage of high level language | It requires very less time for their execution |
A programming language with symbolic names for opcodes, and decimals or labels for memory addresses | Assembly Language |
A type of instructions tied directly to one type of computer and it is often cryptic not human readable | Low level language |
In machine language, OFF switch is represented as 0 | True |
The program design process describes the data for the solution of the problem | False |
It is a software error that occurs while a program is being executed | run-time error |
An algorithm is a step by step description of how to arrive at a solution in the easiest way | True |
This testing is performed by real users of the software application in a real environment | beta |
The last step in Program Development Cycle is | Documentation and Maintenance |
Programming is important to automate, collect, manage, calculate, and analyze the processing of data and information accurately | True |
It is also called executables that consist of binary instructions | Machine Language programs |
Which of the following steps is not required during the Testing and Debugging phase | Select the appropriate programming language |
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 | documentation |
In maintenance phase, the programming team fixes program errors and updates the software | T |
Even before the software is completed, it needs to be maintained and evaluated regularly | T |
Each class of computer has its own particular machine language | T |
Assembly language programs must be translated into machine instructions, using an ________ | Assembler |
Computer hardware can understand only the high-level languages | F |
The program design process describes the data for the solution of the problem. | False. The program design process focuses on creating the algorithm and structure of a program to solve a specific problem, which includes defining how the program will operate and interact with data. |
Interpreter or compiler is used to convert high-level language to low-level language. | True |
Which of the following statement is true about high-level language? | Writing instructions in a high-level language is easier. |