Practice Question and Answer
8Q: Which of the following is not a correct variable type? 6237 05b5cc698e4d2b4197774c666
5b5cc698e4d2b4197774c666- 1realtrue
- 2charfalse
- 3floatfalse
- 4doublefalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "real"
Explanation :
Answer: A) real Explanation: A variable provides us with named storage that our programs can manipulate. Each variable in C++ has a specific type, which determines the size and layout of the variable's memory the range of values that can be stored within that memory and the set of operations that can be applied to the variable. The name of a variable can be composed of letters, digits, and the underscore character. It must begin with either a letter or an underscore. Upper and lowercase letters are distinct because C++ is case-sensitive − Basic types of variables: 1. bool Stores either value true or false. 2. char Typically a single octet (one byte). This is an integer type. 3. int The most natural size of an integer for the machine. 4. float A single-precision floating point value. 5. double A double-precision floating point value. 6. void Represents the absence of type. 7. wchar_t A wide character type.
Q: Statement: Huge amount of resources are required to develop tourist places in a country like India, which is endowed with vast coastlines, rivers, forests, temples etc. Courses of action:a. More tourist resorts along the coastlines only should be started.b. The tourist potential of India should be exploited. 6235 05b5cc76ae4d2b4197774fe75
5b5cc76ae4d2b4197774fe75- 1Only b followstrue
- 2Only a followsfalse
- 3Both a & b followsfalse
- 4Neither a nor b followsfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "Only b follows"
Explanation :
Answer: A) Only b follows Explanation: As in the given statement, India is already endowed with tourist spots. Therefore, the existing potential should be exploited.
Q: The Manager of a company accepts only one employees leave request for a particular day. If five employees namely Roshan, Mahesh, Sripad, Laxmipriya and Shreyan applied for the leave on the occasion of Diwali. What is the probability that Laxmi priya’s leave request will be approved ? 6230 05b5cc741e4d2b4197774f97c
5b5cc741e4d2b4197774f97c- 11false
- 21/5true
- 35false
- 44/5false
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 2. "1/5"
Explanation :
Answer: B) 1/5 Explanation: Number of applicants = 5On a day, only 1 leave is approved.Now favourable events = 1 of 5 applicants is approvedProbability that Laxmi priya's leave is granted = 1/5.
Q: If 'x' means '-', '÷' means '+', '-' means '÷' and '+' means 'x', then 24 - 4 ÷ 6 x 3 + 4 = ? 6229 05b5cc736e4d2b4197774f856
5b5cc736e4d2b4197774f856- 10true
- 21false
- 32false
- 43false
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "0"
Explanation :
Answer: A) 0 Explanation: From the given information in the question24 ÷ 4 + 6 - 3 x 4 6 + 6 - 12 = 0
Q: What is common between Kutty, Shankar, Laxman and Sudhir Dar 6225 05c5bfa7bc6a2610a2c6fb982
5c5bfa7bc6a2610a2c6fb982- 1Film Directionfalse
- 2Drawing Cartoonstrue
- 3Instrumental Musicfalse
- 4Classical Dancefalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 2. "Drawing Cartoons"
Q: You are in the parking area of a shopping complex. And, suddenly the electricity fails and there is total darkness. You will 6223 15b5cc79de4d2b41977750543
5b5cc79de4d2b41977750543- 1try and take help from someone aroundfalse
- 2crawl towards your vehicletrue
- 3shout for helpfalse
- 4wait till the lights comefalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 2. "crawl towards your vehicle"
Explanation :
Answer: B) crawl towards your vehicle Explanation:
Q: A house and a shop were sold for Rs. 1 lakh each, In this transaction, the house sale resulted into 20 % loss whereas the shop sale into 20 % profit. The entire transaction resulted in:
6216 05d7f1e5f7f06bc6981e04955
5d7f1e5f7f06bc6981e04955- 1no loss no gainfalse
- 2gain of Rs. $$ {1\over24}$$false
- 3loss of Rs.$$ {1\over12}$$ lakhtrue
- 4loss of$$ {1\over18}$$ lakhfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 3. "loss of Rs.$$ {1\over12}$$ lakh "
Q: ATP is a compound that is synthesized when 6208 05b5cc615e4d2b4197774b6c4
5b5cc615e4d2b4197774b6c4- 1digestive enzymes break amino acids into smaller piecesfalse
- 2energy stored in nitrogen is released froming amino acidsfalse
- 3energy is stored in chemical bonds is released during cellular respirationtrue
- 4chemical bonds between carbon atoms are formed by during photo synthesisfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 3. "energy is stored in chemical bonds is released during cellular respiration"
Explanation :
Answer: C) energy is stored in chemical bonds is released during cellular respiration Explanation:

