2023 2024 EduVark > Education Discussion > Question Papers


  #2  
January 19th, 2018, 08:36 AM
Super Moderator
 
Join Date: Mar 2012
Re: RRB Junior Engineer Information Technology Previous Papers

As per your concern I will get the Railway Recruitment Board, of Junior Engineer Information Technology so that you can solve it easily.

Here is the exam paper

Question1. Consider the following code segment.
for (int k 5 0; k , 20; k 5 k 1 2)

{ if (k % 3 55 1)

System.out.print(k 1 ” “);

}

What is printed as a result of executing the code segment?

(a) 4 16

(b) 4 10 16

(c) 0 6 12 18

(d) 1 4 7 10 13 16 19

(e) 0 2 4 6 8 10 12 14 16 18

Question2. A car dealership needs a program to store information about the cars for sale. For each car, they want to keep track of the following information: number of doors (2 or 4), whether the car has air conditioning, and its average number of miles per gallon. Which of the following is the best design?

(a) Use one class, Car, which has three data fields: int numDoors, boolean has Air, and double miles Per Gallon.

(b) Use four unrelated classes: Car, Doors, Air Conditioning, and Miles per Gallon.

(c) Use a class Car which has three subclasses: Doors, Air Conditioning, and Miles per Gallon.

(d) Use a class Car, which has a subclass Doors, with a subclass Air Conditioning, with a subclass Miles per Gallon.

(e) Use three classes: Doors, AirConditioning, and MilesPerGallon, each with a subclass Car.

Question3. The method findLongest does not work as intended. Which of the following best describes the value returned by a call to findLongest ?
(a) It is the length of the shortest consecutive block of the value target in nums.

(b) It is the length of the array nums.

(c) It is the number of occurrences of the value target in nums.

(d) It is the length of the first consecutive block of the value target in nums.

(e) It is the length of the last consecutive block of the value target in nums.

Question4. Which of the following is FALSE in C?
Keywords can be used as variable names.
Variable names can contain a digit.
Variable names do not contain a blank space.
Capital letters can be used in variable names.

Question5. An expression contains relational operators, assignment operator and arithmetic operator. In the absence of parentheses, they will be evaluated in which of the following order
Assignment, relational, arithmetic
Arithmetic, relational, assignment
Relational, arithmetic, assignment
Assignment, arithmetic, relational

For full information please check the file

RRB Junior Engineer Information Technology exam paper 1






RRB Junior Engineer Information Technology exam paper 2


Quick Reply
Your Username: Click here to log in

Message:
Options



All times are GMT +5. The time now is 10:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8