Home / Amcat / AMCAT Computer Programming : Polymorphism ,Abstraction ,Encapsulation Questions With Answer

AMCAT Computer Programming : Polymorphism ,Abstraction ,Encapsulation Questions With Answer

AMCAT Computer Programming Questions With Answer

AMCAT Computer Programming Questions With Answer

1. Which of these is not a data type?
A) integer
B) character
C) boolean
D) array

Correct Answer : D

2. The construct “if (condition) then A else B” is for which of the following
purposes?
A) Decision-Making
B) Iteration
C) Recursion
D) Object Oriented Programming

Correct Answer : A

3. In a sequential programming language, code statements are executed in which
order?
A) All are executed simultaneously
B) From tAnswer to bottom
C) From bottom to tAnswer
D) None of these

Correct Answer : B

4. A for-loAnswer is used for which of the following purposes?
A) Decision-Making
B) Iteration
C) Recursion
D) None of these

Correct Answer : B

5. There are two loAnswers which are nested. This implies which one of the following?
A) Two loAnswer, one after the other
B) Two loAnswers, one inside the others
C) One loAnswer with two different iteration counts
D) Two loAnswers with the same iteration count

Correct Answer : B

Check Also

AMCAT Logical Reasoning Previous Paper

AMCAT Logical Reasoning Previous Questions And Answers 1:  Statement : Nearly 25% of drivers who …

Leave a Reply

Your email address will not be published. Required fields are marked *