RAS Computer Science and Engineering Sample Paper 1
Rajasthan Adming Services (RAS) / RTS Examination Computer Science, Computer Engineering Sample Paper 1:
1. The goal of structured programming is to:
A) have well indented programs
B) be able to infer the flow of control from the compiled code
C) be able to infer the flow of control from the program text
D) avoid the use of GOTO statements
Answer : (C)
2. What are the types of linkages?
A. Internal and External
B. External, Internal and None
C. External and None
D. Internal
Answer: B
3. Which of the following special symbol allowed in a variable name?
A. * (asterisk)
B. | (pipeline)
C. - (hyphen)
D. _ (underscore)
Answer: D
4. How would you round off a value from 1.66 to 2.0?
A. ceil(1.66)
B. floor(1.66)
C. roundup(1.66)
D. roundto(1.66)
Answer: A
5. By default a real number is treated as a
A. float
B. double
C. long double
D. far double
Answer: B
6. The order of an internal node in a B+ tree index is the maximum number of children it can have. Suppose that a child pointer takes 6 bytes, the search field value takes 14 bytes, and the block size is 512 bytes. What is the order of the internal node?
A) 24
B) 25
C) 26
D) 27
Answer : (C)
7. The Boolean function x, y, + xy + x, y
A) x, + y,
B) x + y
C) x + y,
D) x, + y
Answer : (D)
8. The relation scheme Student Performance (name, courseNo, rollNo, grade) has the following functional dependencies:
A) name, courseNo -> grade
B) rollNo, courseNo -> grade
C) name -> rollNo
D) rollNo -> name
The highest normal form of this relation scheme is
Answer : (A)
9. The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by
A) the instruction set architecture
B) page size
C) physical memory size
D) number of processes in memory
Answer : (D)
10. Consider the following C program
main ()
{ int x, y, m, n ;
scanf ("%d %d", &x, &y);
/ * Assume x > 0 and y > 0 * /
m = x; n = y ;
while ( m ! = n)
{ if (m > n)
m = m — n;
else
n = n - m ; }
printf("%d",n); }
The program computes
A) x + y, using repeated subtraction
B) x mod y using repeated subtraction
C) the greatest common divisor of x and y
D) the least common multiple of x and y
Answer : (C)
11. The best data structure to check whether an arithmetic expression has balanced parentheses is a
A) queue
B) stack
C) tree
D) list
Answer : (B)
12. An organization has a class B network and wishes to form subnets for 64 departments. The subnet mask would be
A) 255.255.0.0
B) 255.255.64.0
C) 255.255.128.0
D) 255.255.252.0
Answer : (D)
13. Suppose the round trip propagation delay for a 10 Mbps Ethernet having 48-bit jamming signal is 46.4 ms. The minimum frame size is:
A) 94
B) 416
C) 464
D) 512
Answer : (C)
14 Consider the following C function:
int f (int n)
{ static int i = 1;
if (n >= 5) return n;
n = n + i;
i ++;
return f (n);
}
The value returned by f(1) is
A) 5
B) 6
C) 7
D) 8
Answer : (C)
15. To avoid the race condition, the number of processes that may be simultaneously inside their critical section is
A. 8
B. 1
C. 16
D. 0
E. None of the above
Answer: B
Tags: Computer, RAS Pre, Sample Papers
Subscribe to:
Post Comments (Atom)
Labels
AAI
(7)
Academy
(2)
Accountant
(38)
Accounts
(33)
ADA
(1)
Administration
(27)
Admit Card
(18)
Adviser
(1)
Advisor
(3)
Agriculture
(61)
AICTE
(1)
AIIMS
(16)
AIISH
(1)
AirForce
(12)
AirIndia
(3)
Airman
(1)
Ambulance
(2)
Analyst
(11)
Answer Key
(19)
AP
(26)
Apprentices
(3)
Architect
(24)
Army
(30)
Art and Culture
(7)
Artisan
(2)
Artistes
(2)
Arunachal
(7)
ASM
(3)
ASRB
(3)
Assam
(19)
Assistant
(237)
Associates
(11)
Atomic
(8)
Attendant
(45)
Attorney
(2)
Audit
(7)
Auditor
(11)
Authority
(19)
Awards
(4)
Awards in 2012
(3)
Ayurveda
(15)
Bangaluru
(35)
Bank
(109)
BARC
(4)
BECIL
(3)
BEL
(20)
BEML
(3)
BHEL
(11)
Bhopal
(2)
Bhutan
(1)
Bihar
(32)
Biological
(2)
Biologist
(2)
Blog
(1)
BMRC
(2)
Board
(23)
Books
(8)
Botanist
(1)
Botany
(1)
BPCL
(3)
BSF
(17)
BSNL
(5)
Budget
(6)
Bureau
(4)
Business News
(11)
CA-ICWA-Finance
(107)
Cadet
(3)
Cameraman
(1)
Cancer
(1)
CareTaker
(2)
Cashier
(5)
Catering
(2)
CBI
(2)
CBSE
(7)
CCMB
(1)
CDAC
(6)
CDS
(1)
CEERI
(1)
Chandigarh
(30)
Chef
(1)
Chemical
(4)
Chemist
(11)
Chemistry
(18)
Chennai
(25)
Chhattisgarh
(30)
CIPET
(3)
CISF
(9)
Clerk
(89)
CMPFO
(1)
Co-Operative
(6)
Coach
(7)
Coal
(5)
Coast Guard
(9)
College
(19)
Commandant
(10)
Commerce
(6)
Commission
(26)
Commissioner
(3)
Communication
(2)
Compiler
(1)
Compounder
(1)
Computer
(12)
Conductor
(2)
Conservator
(2)
Constable
(44)
Consultant
(15)
ContractJob
(188)
Controller
(15)
Coordinator
(14)
Councellor
(1)
Council
(4)
Court
(10)
Court-Master
(1)
CRPF
(8)
CS
(18)
CSAT Papers
(2)
CSIR
(26)
Curator
(2)
Current Affairs
(54)
Current Affairs 2012
(15)
Customer
(2)
Dairy
(4)
Data Entry Operator
(21)
DDA
(3)
Dean
(9)
Defence
(2)
Delhi
(90)
Demonstrator
(7)
Dental
(8)
Deputation
(6)
Designer
(3)
Dietician
(5)
Director
(63)
District
(12)
DMRC
(6)
Doctor
(1)
DOEACC
(1)
Draftsman
(8)
Draughtsman
(4)
DRDO
(1)
Driver
(29)
Drug
(2)
DSSSB
(5)
DVC
(2)
ECIL
(2)
Economics
(16)
Editor
(3)
Education
(36)
Electrician
(5)
Electronics
(14)
Energy
(6)
Engg.-Diploma
(142)
Engineer
(430)
English
(16)
Environment
(3)
EPFO
(1)
Ernet
(1)
ESIC
(13)
Exam News
(132)
Exam Notification and Syllabus
(25)
Examination
(80)
Examiner
(5)
Excise
(2)
Executive
(73)
Expert
(1)
Export
(1)
Faculty
(303)
FCI
(4)
Federation
(1)
Fellow
(7)
Female
(5)
Fertilisers
(6)
Fire
(14)
Fireman
(6)
Fisheries
(3)
Food
(12)
Foreman
(1)
Forensic
(1)
Forest
(6)
Forex
(3)
Fun Time
(2)
GAIL
(3)
GATE
(24)
GDOC
(1)
General Knowledge
(10)
General Science
(32)
Geography
(20)
Geologist
(7)
Geology
(19)
Geophysicist
(6)
Goa
(1)
Government Job
(1)
Gramin
(30)
GRSE
(1)
Guard
(4)
Guide
(1)
Guidelines
(4)
Gujarat
(32)
HAL
(9)
Handloom
(1)
Haryana
(59)
Havildar
(3)
Head
(4)
Health
(16)
Helper
(6)
High Court
(26)
Hindi
(46)
History
(14)
HLL
(6)
Home Guard
(1)
Homeopathy
(2)
Horticulture
(11)
Hospital
(17)
Housing
(2)
HP
(28)
HPCL
(4)
HR
(69)
Hyderabad
(32)
Hydrology
(3)
IAS Mains
(1)
IAS Papers
(3)
IAS Pre
(13)
IB
(5)
IBPS
(6)
ICAI
(2)
ICAR
(2)
ICSI
(1)
IDBI
(3)
IFFCO
(2)
IICPT
(1)
IIIM
(2)
IIIT
(7)
IIITM
(2)
IIM
(15)
IIP
(1)
IISC
(1)
IISER
(2)
IIST
(7)
IIT
(17)
IITM
(2)
IITTM
(1)
India GK
(105)
Indian Constitution
(11)
Information
(1)
Informative
(10)
Inspector
(43)
Institute
(215)
Instructor
(27)
Insurance
(22)
Interpreter
(5)
Investigator
(5)
IOC
(10)
IRCON
(4)
IRCTC
(1)
IRDA
(2)
Irrigation
(1)
ISRO
(12)
IT(Computer)
(143)
ITBP
(11)
ITI-Apprentice
(89)
ITPO
(1)
JCO
(2)
Jharkhand
(19)
JK
(16)
Job
(1)
Jobs
(84)
Jr. Engineer
(77)
JRF
(3)
JTO
(4)
Judge
(14)
Judicial
(10)
Karnataka
(30)
Kerala
(29)
Kolkata
(25)
KVS
(2)
Laboratory
(31)
Lakshadweep
(2)
Language
(9)
Law
(76)
Learn by Pictures
(12)
Lecturer
(21)
Legal
(24)
Librarian
(61)
Library
(5)
LIC
(12)
Lineman
(2)
Logistics
(3)
Lokshabha
(4)
Maharashtra
(29)
Maintainer
(1)
Management
(12)
Management Trainee
(23)
Managemet
(8)
Manager
(175)
Manipur
(3)
Maps
(3)
Marine
(3)
Marketing
(37)
Materials
(1)
Mathematics
(10)
Matron
(1)
MBA
(89)
MBBS
(53)
MCA
(72)
MCD
(5)
Mechanic
(7)
Medical
(118)
Meghalaya
(11)
Midwife
(1)
Mines
(11)
MIS
(1)
Mizoram
(4)
Monitor
(2)
MP
(76)
MRPL
(1)
MSW
(4)
Multitasking-Staff
(6)
Mumbai
(36)
Municipal
(8)
Music
(5)
Nabard
(2)
Nagaland
(4)
NAL
(1)
NALCO
(2)
Nanotechnology
(1)
Navik
(4)
Navodaya
(8)
Navy
(21)
NBRI
(2)
NCC
(2)
NCRA
(1)
NDA
(1)
NDMC
(4)
New Pattern
(15)
NHAI
(1)
NIA
(1)
NIELIT
(4)
NIFT
(1)
NIFTEM
(4)
NIOS
(1)
NIPER
(2)
NISER
(1)
NIT
(29)
NITIE
(1)
NMDC
(7)
Noida
(11)
North-East
(30)
NPCIL
(7)
NRHM
(1)
NTPC
(9)
Nuclear
(6)
Nurse
(49)
Nutrition
(1)
Observer
(6)
Odisha
(24)
Office-Assistant
(36)
Officer
(372)
Oil
(5)
ONGC
(3)
Online
(527)
Operations
(1)
Operator
(43)
Orissa
(4)
Overman
(1)
PA-PS
(25)
Para-Medical
(19)
Parliament
(5)
Pathologist
(2)
Patwari
(2)
Peon
(10)
People
(18)
Personnel
(5)
Petroleum
(10)
PGIMER
(8)
Pharmacist
(29)
Pharmacy
(4)
Physics
(19)
Physiotherapist
(7)
Pictures
(3)
Pilot
(11)
Planner
(6)
Police
(28)
Policies
(8)
Political Science
(7)
Port
(2)
post
(4)
Power
(59)
pr
(2)
Prasar-Bharati
(1)
Press
(1)
Principal
(16)
PRO
(15)
Probationary
(13)
Producer
(2)
Professional
(11)
Programmer
(25)
Project
(40)
Prosecution
(5)
Prosecutor
(1)
PSC
(75)
Psychology
(1)
PTET Exam
(10)
Public Admn
(17)
Public-Sector
(377)
Puducherry
(9)
Pune
(3)
Punjab
(63)
Quality
(5)
Quiz Time
(46)
Radio
(3)
Radiographer
(12)
Railway
(29)
Rajasthan
(40)
Rajasthan GK
(114)
Rajbhasha
(11)
Rajya Sabha
(1)
RAS Exam News
(55)
RAS Interview
(3)
RAS Main
(39)
RAS Papers
(39)
RAS Pre
(94)
RBI
(6)
Refinery
(9)
Registrar
(50)
Relashonship
(3)
Remote Sensing
(1)
Reporter
(2)
Research
(36)
Resident
(16)
Restorer
(1)
Results
(62)
Rifleman
(2)
Rites
(12)
RJS Exam
(6)
RPSC
(89)
RPSC and Other Exam Papers
(27)
RRB
(2)
RTET Exam
(2)
Rural
(14)
SAI
(2)
SAIL
(13)
Sailors
(5)
Sales
(6)
Sample Papers
(57)
Sanitary
(1)
Sarkari-naukri
(1)
SBI
(5)
School
(21)
Science
(2)
Scientific
(1)
Scientist
(49)
Scope
(1)
Scout
(1)
SEBI
(2)
Secretary
(5)
Security
(33)
Shipping
(4)
SIDBI
(3)
Siddha
(1)
Sikkim
(4)
Single-Window-Operator
(1)
Sirdar
(1)
SJVN
(1)
Social Worker
(1)
Society
(4)
Sociology
(2)
Space
(4)
Special Drive
(47)
Specialist
(46)
Sports
(17)
SSB
(15)
SSC
(61)
Statistics
(16)
Steel
(7)
Steno
(53)
Stock Exchange
(1)
Store-Keeper
(8)
Superintendent
(25)
Supervisor
(37)
Supreme Court
(2)
Surgeon
(3)
Surveyor
(7)
Syllabus
(15)
Tax
(1)
TCIL
(3)
Tea
(3)
Teacher
(38)
Technical
(116)
Technician
(80)
Technology
(12)
Tehsildar
(3)
Telecom
(12)
Textile
(4)
THDC
(2)
Therapist
(3)
TN
(28)
Tourism
(1)
Tradesman
(7)
Trainee
(84)
Translator
(26)
Transport
(6)
Treasury
(7)
Tricks
(2)
Tripura
(3)
TTA
(1)
Tutor
(8)
Typist
(25)
UGC
(4)
UN
(1)
Unani
(3)
University
(179)
UP
(77)
UPSC
(42)
Urdu
(1)
UTI
(2)
Uttarakhand
(40)
Vehicle
(1)
Veterinary
(20)
VSSC
(2)
Walk-In
(49)
Warden
(4)
Warder
(1)
Warehouse
(1)
WB
(24)
Wireless
(2)
Women
(8)
Worker
(3)
World GK
(62)
Yantrik
(3)
Zoology
(2)
Share your views...
0 Respones to "RAS Computer Science and Engineering Sample Paper 1"
Post a Comment