If you needed to execute some code repeatedly based on a certain condition, which
of the
following would you use:
a) Compiler
b) Loop
c) Variable
d) None of These

1 Answer

Answer :

b) Loop

Related questions

Description : How many times will the loop execute? int value1 = 7. value2=19 ; do -Technology

Last Answer : 4 timeswill the loop execute.

Description : What do you call the translator which takes assembly language program as input & produce machine language code as output? A) Compiler B) Interpreter C) Debugger D) Assembler

Last Answer : Answer : D

Description : What is a compiler? A) A compiler does a conversion line by line as the program is run B) A compiler converts the whole of a higher level program code into machine code in one step C) A compiler is a general purpose language providing very efficient execution D) None of the above

Last Answer : Answer : B

Description : Which analyses and executes the source code in line-by-line manner, without looking at the entire program? A. Compiler B. Interpreter C. Assembler D. None of the above

Last Answer : B. Interpreter

Description : Which of the following language is the closest to the machine code? A. Compiler B. Interpreter C. Assembler D. None of the above

Last Answer : C. Assembler

Description : The translator program that converts source code in high level language into machine code line by line is called - 1) Assembler 2) Compiler 3) Loader 4) Interpreter

Last Answer : 4) Interpreter

Description : Fill in the blank. During the _________ of a project, the project manager focuses on  developing the project infrastructure needed to execute the project and developing  clarity around the project charter and scope. ... one: a. completion b. start-up c. execution d. evaluation e. selection

Last Answer : b. start-up

Description : Fill in the blank. During the _________ of a project, the project manager  focuses on developing the project infrastructure needed to execute the  project and developing clarity around the project charter and scope. ... one: a. completion b. start-up c. execution d. evaluation e. selection

Last Answer : b. start-up

Description : What is JDBC? Describe the steps needed to execute a SQL query using JDBC.

Last Answer : Ans. The JDBC is a pure Java API used to execute SQL statements. It provides a set of classes and interfaces that can be used by developers to write database applications. The steps needed to execute a ... . 2. Execute a SQL statement. 3. Process th results. 4. Close the connection to the database.

Description : The method of accessing the I/O devices by repeatedly checking the status flags is_________ A. Memory-mapped I/O B. Program-controlled I/O C. I/O mapped D. None of the Above

Last Answer : B. Program-controlled I/O

Description : _______ is a form of denial of service attack in which a hostile client repeatedly sends SYN packets to every port on the server using fake IP addresses. a) Cybergaming crime b) Memory shaving c) Syn flooding d) Software piracy e) None of these

Last Answer : a) Cybergaming crime

Description : X, Y, Z are engaged to do a certain piece of work for Rs.8200.Y and Z are to execute 15/26 of the work together. Amount to be paid to X is A) 4287 B) 3469 C) 6124 D) 2865

Last Answer : Answer: B)  Y and Z are execute 15/26 of week Balance =1-15/26  11/26 of work completed by X  X’s share of revenue  =11/26 *8200  =Rs 3469

Description : The compiler _ translate a program code with any syntax error: a. Can b. Cannot c. Without d. None of these

Last Answer : b. Cannot

Description : Secondary memory can store____: a. Program store code b. Compiler c. Operating system d. All of these

Last Answer : d. All of these

Description : A compiler is used to convert the following to object code which can be executed (A) High-level language (B) Low-level language (C) Assembly language (D) Natural language

Last Answer : (A) High-level language

Description : Which phase of compiler generates stream of atoms ? (A) Syntax analysis (B) Lexical Analysis (C) Code generation (D) Code optimization 

Last Answer : (A) Syntax analysis

Description : compiler optimization, operator strength reduction uses mathematical identities to replace slow math operations with faster operations. Which of the following code replacements is an illustration of operator strength reduction? (A) Replace P + ... * P or Replace 3 + 4 by 7. (B) Replace P * 32 by P

Last Answer : (B) Replace P * 32 by P

Description : Write a short code using C++ to print out all odd number from 1 to 100 using a for loop

Last Answer : for( unsigned int i = 1; i < = 100; i++ ) if( i & 0x00000001 ) cout

Description : ……… is a group of words or coded instruction for the NC/CNC system to execute aparticular movement. a.Sequence b.Address c.Code d.Block

Last Answer : d.Block

Description : How many times does the following code segment execute int x=1, y=10, z=1; do{y--; x++; y-=2; y=z; z++} while (y>1 && z

Last Answer : A) 1

Description : All of the following might be done during unit testing except A. Desk checkB. Manual support testing C. Walkthrough D. Compiler based testing

Last Answer : B. Manual support testing

Description : Benefit afforded by certain H1 antihistaminics in the following condition is not based on antagonism of histamine: A. Dermographism B. Insect bite C. Common cold D. Seasonal hay fever

Last Answer : C. Common cold

Description : Why is it important to initialize the loop control variable for WHILE loops?

Last Answer : Uninitialised variables take on whatever value happens to resideat the memory address to which the variable was allocated at thepoint of instantiation. It is a "garbage value" because we cannotpredict ... loop and ultimately tells us how many characters wereread into the buffer (such that index

Description : The fluid reaching the distal convoluted tubule from the ascending limb of Henle's loop is (a) isotonic in respect of plasma (b) hypotonic in respect of plasma (c) hypertonic in respect of plasma (d) variable

Last Answer : Ans:(a)

Description : Cascade control is (A) The continuous adjustment of the set point index of an automatic control loop by a primary (master) controller (B) Used when changes in process conditions cause serious upsets in the controlled variable (C) Useful to control flow from temperature (D) All 'a', 'b' & 'c'

Last Answer : (D) All 'a', 'b' & 'c'

Description : What is the problem with the compiler ?

Last Answer : : The disadvantage of the compiler is that since the compiler translates the entire program into an object program at once , its error cannot be detected step by step and therefore cannot be modified immediately.

Description : A computer Program that translates one program instruction at a time into machine language is called a/an A) Interpreter B) CPU C) Compiler D) Simulator

Last Answer : Answer : A

Description : A computer program that converts an entire program into machine language is called a/an A) Interpreter B) Simulator C) Compiler D) Commander

Last Answer : Answer : C

Description : A computer program that converts an entire program into machine language at one time is called a/an A) Interpreter B) CPU C) Compiler D) Simulator

Last Answer : Answer : C

Description : A Compiler is

Last Answer : Answer : C

Description : The translator program used in assembly language is called A) Compiler B) Interpreter C) Assembler D) Translator

Last Answer : Answer : C

Description : A compiler is a translating program which A) Translates instruction of a high level language into machine language B) Translates entire source program into machine language program C) It is not involved in program’s execution D) All of above

Last Answer : Answer : D

Description : A ________ is a special program that processes statements written in a particular programming language and turns them into machine language. A. Compiler B. Device Driver C. Assembler D. None of the above

Last Answer : A. Compiler

Description : Language Translators can be divided into three major categories.They are _________ A. Compiler, Operating System and Assembler B. Compiler, Device Driver and Assembler C. Compiler, Interpreter and System Utility D. Compiler, Interpreter and Assembler

Last Answer : D. Compiler, Interpreter and Assembler

Description : ______ is an application that converts a programming language into a machine language program: a) Converter b) Compiler c) Encryption d) None of These

Last Answer : b) Compiler

Description : A compiler translates a program written in a high-level language into a) Machine language b) An algorithm c) A debugged program d) Java e) None of these

Last Answer : a) Machine language

Description : A mistake in an algorithm that causes incorrect results is called a a) logical error b) syntax error c) procedural error d) compiler error e) None of these

Last Answer : b) syntax error

Description : A(n) _____ program is one that is ready to run and does not need to be altered in any way. a) Interpreter b) High level c) Compiler d) Executable e) None of these

Last Answer : d) Executable

Description : A(n) ______ is a set of programs designed to manage the resources of a computer, including starting the computer, managing programs, managing memory and coordinating tasks between input and output devices. a) application suite b) compiler c) input/output system d) operating system e) None of these

Last Answer : d) operating system

Description : Select the odd one out - 1) Interpreter 2) Operating System 3) Compiler 4) Assembler

Last Answer : 2) Operating System

Description : The errors that can be pointed out by the compiler are 1) Syntax error 2) Symantic error 3) Logical error 4) Internal error

Last Answer : 1) Syntax error

Description : A compiler translates a program written in a high level language into 1) Machine Language 2) An algorithm 3) A debugged program 4) None of these

Last Answer : 1) Machine Language

Description : A compiler is_____________ 1) a combination of computer hardware 2) a program which translates from one high level language to another 3) a program which translates from one high level language to a machine level 4) none of these

Last Answer : 3) a program which translates from one high level language to a machine level

Description : What is a Compiler?

Last Answer : Compiler is a program that translates a program written in high-level language into machine code. It reads the whole program before executing. ABBREVIATIONS ENIAC ⇒ Electronical Numerical Integrator and ... Language LISP ⇒ List Processing) Language VB ⇒ Visual Basic PDA ⇒ Personal Data Assistants

Description : Raspbian is: a) Assembler b) Language c) Compiler d)OS

Last Answer : d)OS

Description : _____ is required to boot a computer. (1) Loader (2) Operating system (3) Assembler (4) Compiler

Last Answer : Operating system

Description : A computer program that translates one program instruction one at a time into machine language is called a/an (1) Interpreter (2) Compiler (3) Simulator (4) Commander

Last Answer : Interpreter

Description : Which one of the following converts assembly language into machine language ? (1) Algorithm (2) Interpreter (3) Compiler (4) Assembler

Last Answer : Assembler

Description :  ________ is a program that places programs into memory and prepares them for execution. (1) Assembler (2) Compiler (3) Loader (4) Macro processor

Last Answer : Loader