Rajasthan Technical University 2009-4th Sem B.E Electrical Engineering : (- ) Computer Programming - Question Paper
Rajasthan tech. University(RTU)
B.Tech IV sem. back exam
2009
Computer Programming
The candidate should ensure that this question
paper contains 3 printed pages.
4179 C.P.
II B.E. (IV SEMESTER) (BACK) EXAMINATION, 2009
(New Four Year Semester Scheme)
[Branch : Electrical Engineering]
Paper IV
COMPUTER PROGRAMMING
Time Allowed : Three Hours Maximum Marks 80
(1) No supplementary answer-book will be given-to any candidate. Hence the candidates should write the answer precisely in the Main answer-book only.
(2) All the parts of one question should be answered at one place in the answer-book. One complete question should not be answered at different places in the answer-book.
Attempt any five questions.
All questions carry equal marks.
Turn over
1. (a) Write a program in Java to check whether a
number is prime or not. . 8
(b) Write a program in Java to display the pattern as: A
BB C C C D D D D
EEEEE: 8
2. (a) What is JDK? Explain its various tools in detail. 8
(b) What different types of operators are available in Java? Describe in detail. 8
3. Describe the following commands:
(b) mv
(c) Is'
(d) be
(ie) pwd CO expr
(g) banner
(h) head 2x8=16
4. (a) What is interface? Describe various forms of
implementing interfaces.with examples. 8
(b) What is Package in Java? Explain the various types of Package 8
5. (a) Explain the various concepts of object oriented
programming. 8
(b) What is VI editor? Explain various cursor movement commands. 8
6. (a) What do you understand by AWT control?
Describe. '8
(b) What do you understand by Applet? Describe with example. 8
7. (a) What are various mouse event classes? Write a
program to display Hello on mouseclick. 8
(b) Write a program which will perform read and write operations in a file. 8
8. (a) Describe method overriding with suitable
example.- 8
(b) Describe operator overriding with suitable example. 8
II BE 4179 300
Attachment: |
Earning: Approval pending. |