statement block is executed atleast once for any value of the condition.

a. For statement
b. Do-while statement
c. While statement
d. None of these

1 Answer

Answer :

b. Do-while statement

Related questions

Description : _is sequence of instructions is executed and repeated any no. of times in loop until logical condition is true: a. Iteration b. Repetition c Botha&b d. None of these

Last Answer : c Botha&b

Description : ___is the statement block of for loop lies inside block of another for loop: a. Nested for loop b. Nested while loop c. Nested do-while loop d. None of these

Last Answer : a. Nested for loop

Description : is the step during which the operations specified by the instruction are executed: a. Execute b. Decode c. Both a& b d. None of these

Last Answer : a. Execute

Description : Which cycle refers to the time period during which one instruction is fetched and executed by the CPU: a. Fetch cycle b. Instruction cycle c. Decode cycle d. Execute cycle

Last Answer : b. Instruction cycle

Description : Which register holds the next instruction to be executed:

Last Answer : c. Program control register

Description : Which register holds the current instruction to be executed. a. Instruction register b. Program register 9 Control register a None of these

Last Answer : a. Instruction register

Description : When a subroutine is the parameters are loaded onto the stack and SCAL is executed: a. Executed b. Invoked c. Ended d. = Started

Last Answer : b. Invoked

Description : getchar :: IO char in this given function what is indicated by IO char: a. when getchar is invoked it returns a character b. when getchar is executed it returns a character c. botha & b d. none of these

Last Answer : a. when getchar is invoked it returns a character

Description : Each instruction is executed by set of micro operations termed as. a. Micro instructions b. Mini instructions c. Botha &b d. None of these

Last Answer : a. Micro instructions

Description : The continue statement is used to transfer the control to the_ ___ of astatement block in a loop. a. End b. Beginning c. Middle d. None of these

Last Answer : b. Beginning

Description : The statement is used to transfer the control to the end of statement block in a loop. a. Continue b. Break c. Switch d. Goto

Last Answer : b. Break

Description : is which initializes the value of variable: a. Assignment expression b. Condition value Cc. Increment/decrement d. None of these

Last Answer : a. Assignment expression

Description : isa__ expression which will have value true or false. a. Relational b. Logical ce. Botha&b d. None of these

Last Answer : ce. Botha&b

Description : A computer program selects an integer in the set {k : 1 ≤ k ≤ 10,00,000} at random and prints out the result. This process is repeated 1 million times. What is the probability that the value k = 1 appears in the printout atleast once ? (A) 0.5 (B) 0.704 (C) 0.632121 (D) 0.68

Last Answer : (C) 0.632121

Description : is a small program tested separately before combining with final program: a Module b. Block c. selection d. none of these

Last Answer : a Module

Description : A is written as separate unit, apart from main and called whenever necessary: a. Subroutine b. Code c. Block d. None of these

Last Answer : a. Subroutine

Description : In RISC architecture access to registers is made as a block and register file in a particular register can be selected by using: a. Multiplexer b. Decoder c. Subtractor d. Adder

Last Answer : b. Decoder

Description : How many condition that should be met in order to produce a deadlock. a. 2 b 4 Cc. 6 d 8

Last Answer : b 4

Description : Which are the condition that should be met in order to produce a deadlock. a. Mutual exclusion b. Hold and Wait Cc. No preemption d. Circular wait e. Allofthese

Last Answer : e. Allofthese

Description : Ina complex program, the overlaps: a. Branching b. Condition c. Botha &b d. None of these

Last Answer : a. Branching

Description : A flag isa __ __that keep track of a changing condition during computer run: a. Memory b. Register c. Controller d. None of these

Last Answer : d. None of these

Description : Suppose a teacher has short height. It creates an obstacle in utilizing the black-board in a justifiable manner. Therefore, the students cannot follow the lessons inspite of utmost care taken by ... a complaint with the principal D) Collect donations from his student to reconstruct the black-board

Last Answer : You suggest him to make a temporary platform of bricks with the help of students

Description : Types of loop control statements are. a. For loop b. While loop c. Do-while loop d. All of these

Last Answer : d. All of these

Description : In Goto statement the place to which control is transferred is identified by a statement so a. Label b. Display c. Break d. None of these

Last Answer : a. Label

Description : subroutines are invoked by using their___ _ ina subroutine call statement and replacing formal parameters with__ __ parameters: a. Identifier and formal b. Identifier and actual c. Expression and arguments d. None of these

Last Answer : b. Identifier and actual

Description : In program control the instruction is set for the statement in a: a. Parallel b. Sequence c. Both d. None

Last Answer : b. Sequence

Description : emaphore provides mutual exclusion for accesses to the buffer pool and is initialized to the value: a. Mutex b. Mutual Cc. Memory d. __ Allof these

Last Answer : Mutex

Description : In which numeral every position has a value 2 times the value f the position to its right: a. Decimal b. Octal c. Hexadecimal d. Binary

Last Answer : d. Binary

Description : In which digit the value increases in power of two starting with 0 to left of the binary point and decreases to the right of the binary point starting with power -1. a. Hexadecimal b. Decimal c. Binary d. Octal

Last Answer : c. Binary

Description : Absolute entitiesare_ Ss whom value signify storage locations that are independent of resulting machine code: a. Numeric constants b. String constants c. Fixed addresses d. Operation codes e. Allofthese

Last Answer : e. Allofthese

Description : is the__ _ value of variable which will be added every time: a. Increment b. Decrement c. Expanding d. None of these

Last Answer : a. Increment

Description : function is used to transfer the control to end of a program which uses one argument( ) and takes value is zero for_ __ termination and non-zero for _termination: a. _ Exit( ) normal, abnormal b. Break, normal, abnormal Botha & b None of these

Last Answer : a. _ Exit( ) normal, abnormal

Description : ___arrow represents the value obtained by evaluating right side expression/variable to the left side variable. a. Forth b. Inbetween co. Back d. None of these

Last Answer : co. Back

Description : If we define putchar function in putchar :. char -> IO () syntax than character input as an argument andreturns a. Useful value b. Get output c. Getno output d. None of these

Last Answer : c. Getno output

Description : Branch logic determines which should be adopted to select the next_ value among possibilities. a. CAR b. GAR c. HAR d. TAR

Last Answer : a. CAR

Description : Will the finally block get executed if an exception has not occurred?

Last Answer : Yes.  

Description : Will the finally block get executed if an exception has not occurred?

Last Answer : Yes. 

Description : The finally block is executed: a) Only when a checked exception is thrown b) Only when a unchecked exception is thrown c) Only when an exception is thrown d) Irrespective of whether an exception is thrown or not e) None of The Above

Last Answer : d) Irrespective of whether an exception is thrown or not

Description : . Chunori is a dramatic technique featuring an actor suspended in midair and moving over stage and audience. Once done using ropes, it is now executed using steel wires. In what sort of performance would you get to witness Chunori?

Last Answer : Kabuki

Description : If the value of basic = 1500, what will be the value of tax after the following statement is executed tax = basic > 1200 ? 200 : 100

Last Answer : Ans. 200

Description : While Computing the actual cost of any asset falling within a block, direct cost attributable to bring the asset to its present location and working condition for its intended use(i.e. expenses incurred ... from the purchase price c) Be subtracted from WDV d) Be claimed as revenue expenditure

Last Answer : b) Be subtracted from the purchase price

Description : Which section is basically a sequence of instruction with a clear indication of beginning and end for updating shared variables. a. Racing section b. Critical section c. d. Both None of thes

Last Answer : . Critical sectio

Description : In which section only one process is allowed to access the shared variable and all other have to wait. a. Critical section b. Racing section Cc. Entry section d. Remainder section

Last Answer : . Critical section

Description : hich section is the remaining part of a process’s code: a. Racing section b. Critical section Cc. Entry section d. Reminder secti

Last Answer : b. Entry section

Description : Which are the characteristics of deadlocks. a. Mutual exclusion b. Hold and wait Cc. No pre-emption d. = Circular wait e. Allof these

Last Answer : e. Allof these

Description : How many events concerning RAG can occur in a system: a. 1 b 2 c. 3 d 4

Last Answer : c. 3

Description : Which are the events concerning RAG can occur in a system: a. Request for a resource b. Allocation of a resource c. Release of resource d. Allof these

Last Answer : d. Allof these

Description : How many methods for handling deadlocks: a. 1 b 2 c. 3 d 4

Last Answer : c. 3

Description : Which are the method for handling deadlocks. a. Deadlock prevention b. Deadlock avoidance c. Deadlock detection d. Allof these

Last Answer : d. Allof these

Description : In protocol each process can make a request onlyinan a. Increasing order b. Decreasing order c. Botha &b d. None of these

Last Answer : a. Increasing order