X

Unix & Programming B.Sc Previous Exams Question Papers : alagappauniversity.ac.in

Name of the University : Alagappa University
Degree : B.Sc
Department : Computer Science
Subject Code/Name : Unix And Programming
Semester : I
Document Type : Model Question Paper /Previous Exams Question Papers
Website : alagappauniversity.ac.in

Download Model/Sample Question Paper :
Nov 2010 : https://www.pdfquestion.in/uploads/alagappauniversity.ac.in/4026.-B.Sc.%20SOFTWARE.pdf

Alagappa University Unix & Programming Model Question Paper

Time : 3 Hours
Maximum : 75 Marks
Part A :

Related : Alagappa University Principles of Information Technology M.Sc Model Question Papers : www.pdfquestion.in/3948.html

November 2010

Answer all questions. :
1. What is a Shell –
2. Write a Command to create a text file in UNIX.
3. What are Unary operators –
4. What is the purpose of getchar function –
5. What is C preprocessor –
6. Define Recursion and Macro.
7. What is a Malloc ( ) function –
8. What is single dimensional Array –
9. How can you find the size of Structure –
10. What is a bit field


Part B : (5 × 5 = 25)
Answer all questions.
11. (a) What are the shell built – in variables ? Explain them. (Or)
(b) Briefly explain Directory commands with example.
12. (a) Discuss on gets and puts function with example. (Or)
(b) Explain switch-break-and continue statement.
13. (a) Briefly explain storage classes. (Or)
(b) Explain various Library functions in C.
14. (a) How do you define a string in array. (Or)
(b) Write a ‘C’ program to pass a Pointer to a function.
15. (a) What is Enumeration ? Briefly explain. (Or)
(b) Declare the structure for employee details and write a method to access data members.

Part C : (3 × 10 = 30)
Answer any three questions.
16. Discuss on File permissions and File security.
17. Discuss on if-then-else nested structure with suitable program.
18. Explain a function with its definition and calling method by passing argument.
19. Explain the method to declare dynamic memory allocation with suitable program.
20. Discuss in detail a method how to pass the structure to a function.

April 2011

B.Sc. Degree Examination,  :
Programming In C++ And Algorithms :
(CBCS—2008 onwards)
Time : 3 Hours
Maximum : 75 Marks
Part A (10 × 2 = 20)
Answer all the questions.
1. Define Class.
2. What is Array of objects ?
3. Give an example for two-dimensional array.
4. When will the constructors are executed ?
5. Define Inheritance.
6. What is this pointer ?.
7. Define Topological sort.
8. What is finding the closest pairs of points ?
9. Define Huffmann code.
10. What is coin changing ?

Part B : (5 × 5 = 25)
Answer all questions.
11. (a) Write a C++ program to search a number in a set of a numbers. (Or)
(b) Write a note on pointer to member.
12. (a) Discuss constructors in detail. (Or)
(b) Write note on Dynamic Initialization of objects in detail.
13. (a) Write a note on Type conversion in detail. (Or)
(b) Discuss polymorphism.
14. (a) Write note on merge sort in detail. (Or)
(b) Discuss Insertion sort in detail
15. (a) Explain the Prim’s algorithm. (Or)
(b) Write an algorithm for multiplying two matrices.

Part C : (3 × 10 = 30)
Answer any three questions.
16. Discuss the control structures in C++ in detail with examples.
17. Write note on :
(a) Copy constructors
(b) Destructors
18. Discuss pointers to objects in detail with example.
19. Explain the Breadth-First search in detail.
20. Explain the longest-common-subsequence problem.

April 2010

B.Sc. Degree Examination,  :
Java Programming :
(CBCS—2008 onwards)
Time : 3 Hours
Maximum : 75 Marks
Part A (10 × 2 = 20)
Answer all questions.
1. What is meant by Class ?
2. What is meant by applet ?
3. What is meant by casting a value ?
4. Write the general format of else if statement.
5. What is destructor ?
6. What is an Array ?
7. What is static import ?
8. How do you declare the class in extending the thread method ?
9. Write any two attributes and its meaning of Applet Tag.
10. Write any two Tag and its function of HTML tag.

Part B : (5 × 5 = 25)
Answer all the questions.
11. (a) Write any five features of Java. (Or)
(b) Write short notes on JDK.
12. (a) Explain assignment Operator. (Or)
(b) Explain Nesting for loop statements ? Give an example ?
13. (a) What is Constructor ? What are its special properties ? (Or)
(b) How can you access interface variables ? Give an example.
14. (a) Explain the naming Conventions. (Or)
(b) Explain the Thread Exceptions.
15. (a) How does Applets differ from Applications ? (Or)
(b) What is remote applet ?

Part C : (3 × 10 = 30)
Answer any three questions.
16. Explain the following
(a) Data abstraction and data encapsulation.
(b) Inheritance and Polymorphism.

17. Explain the following statement.
(a) Simple if.
(b) If else.
(c) While statement.

18. Discuss the different levels of access protection available in Java.
19. Briefly explain life cycle of a thread.
20. Write applets to draw the following shape :
(a) Cone.
(b) Cube.

Bensiga:
www.pdfquestion.in © 2022 Contact Us   Privacy Policy   Site Map