M1 Introduction to Programming

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

a

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). a. Documentation b. Blueprint c. Packaging d. Debugging

t

Machine language uses two symbols 1 & 0 t or f

b

Programming language is a way to classify programming languages based on their __________ a. Data type b. Features c. Translator d. Readability

t

The execution of high-level language is slower compared to low level language t or f

t

When we want to develop a program using any programming language, we follow a sequence of steps called phases t or f

d

In this phase of program Development cycle, we construct the actual program a. System design b. Requirement analysis c. Documentation and maintenance d. Coding

t

Interpreter or compiler is used to convert high level languages to low level languages t or f

c

It consists of rules governing the structure and content of the statement that should be followed in a programming language. a. Policy b. Directive c. Syntax d. Object

c

It is a manual testing of the solution design to make sure that is free of errors and that the logic works. a. beta checking b. alpha testing c. desk checking d. debugging

c

It is a pictorial representation of a step by step solution to a problem. a. Object b. Pseudocodes c. Flowchart d. Model

a

It is a programming style that allows splitting those instructions into procedure a. procedural b. object oriented c. flowchart d. algorithm

a

It is a software error that occurs while a program is being executed a. Real time error b. Syntax error c. Logical error d. Semantic error

b

It is also be referred to as imperative programming. a. object oriented b. procedural programming c. requirement analysis d. design system

d

It is the process of designing, writing, testing, debugging/ troubleshooting, and maintaining the source code of computer programs. a. Coding b. Sequencing c. Database management d. Programming

c

It is the step by step sequence of instructions that describe how data will be processed to produce the desired output. a. Pseudocode b. Flowchart c. Algorithm d. Procedure

f

C and C++ are a most popular a programming language which uses interpreter. t or f

t

A coder is a person who writes a source code using programming languages to create computer programs t or f

a

A programming languages with symbolic names for opcodes, and decimals or labels for memory addresses a. assembly language b. machine language c. low level language d. high level language

a

A type of testing performed to identify bugs before releasing the product to real users or to the public a. Alpha b. System integration c. Beta d. Gray

f

All the instructions of high-level language are written in the form of binary numbers 1's & 0's t or f

f

Alpha testing is performed by real user of the software application in a real environment. t or f

d

An English like nonstandard language that lets you state your solution to a problem a. Procedure b. Flowchart c. Algorithm d. Pseudocode

f

An algorithm is a step by step description of how to arrive at a solution in the easiest way t or f

b

Assembly language program must be translated into machine instructions, using an __________________ a. Gatherer b. Assembler c. Executables d. Translator

t

Check the feasibility of implementing the program is part of the requirement analysis t or f

t

Computer cannot understand mnemonics in assembly language, thus translator is used called assembler t or f

t

Computer languages are the techniques through which the user can communicate with the computer by writing program instructions t or f

f

Determine the input to achieve the desired outputs is part of system design t or f

b

During this phase of program development cycle, we check whether the code written is solving the specified problem or not a. System design b. Testing and debugging c. Documentation and maintenance d. Coding

t

Each class of computer has its own particular machine language. t or f

f

Even the software is completed, it needs to be maintained and evaluated regularly t or f

t

In low level languages, there is more chance for errors and it is very difficult to find errors, debug and modify. t or f

f

In machine language, OFF switch is designated by a 1. t or f

f

In maintenance phase, the programming team fixes program errors and updates the software t or f

t

In procedure-oriented programming. A main program centrally controls all the procedures. t or f

f

In pseudocode, steps are linked by connecting lines and directional arrows. t or f

f

Source code must be translated to machine language using language barrier t or f

t

Syntax error and logical error are collectively known as bugs. t or f

a

The correct order of steps in testing and debugging of phase is___ 1. Debug the program 2. Run real data 3. Perform desk checking a. 3,1,2 b. 1,3,2 c. 3,2,1 d. 1,2,3

t

The first step of requirement analysis is to define the problem and the users t or f

b

The following are advantages of low level language except a. It requires very less time for their execution b. Low level language instructions are executed directly without any translation c. Low level language instruction are machine dependent d. A computer can easily understand the low level language

c

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? a. Run time error b. Semantic error c. Logical error d. Syntax error

f

The programs created using low level language runs on different machines with little changes or no changes at all. t or f

t

The tool you use be a compiler and/or an interpreter, depending on the language you're with and your needs t or f

b

The user has type 0 as the denominator in a computer program that divides two numbers. An error has occurs during the execution. a. syntax error b. run time error c. logical error d. debugging

d

Which is not true about programming paradigm? a. Procedural, object-oriented and logical are programming paradigms b. It is a way to classify programming languages based on their features. c. It is an approach or methods to solve problem using tools and techniques that are available to us following some approach d. One programming paradigm is enough to solve computing problems

d

Which of the following programming languages uses an interpreter? a. C++ b. C# c. Java d. Python

d

Which of the following statement is true about high-level language? a. High level language does not need to be translated into low level language b. High level language executes faster compared to middle and low level languages c. A high level language is less readable and understandable d. Writing in a high level language is easier

b

a way of translating source code in which all statements are translated and stored as an executable program, or object program: execution occurs later. a. assembler b. compiler c. diagnostics d. interpreter

c

uses English like instruction a. low level language b. phases c. high level language d. debug

a

uses instructions tied directly to one type of computer often cryptic and not human readable. a. low level language b. phases c. high level language d. debug


Ensembles d'études connexes

C S 235: Data Structures; Final Exam

View Set

Algebra II Lesson 2.2 Standard Form of Linear Equations

View Set

German geography cards, Geography Questions, Germany Geography Questions (Zach Butterfield)

View Set

Chap. 23 - Caring for clients with infectious and inflammatory disorders of the heart and blood vessels.

View Set

Social and Behavioral Responsible Conduct of Research

View Set