End Term 4th Sem BCA June July 2022
End Term 4th Sem BCA June July 2022
End Term 4th Sem BCA June July 2022
TBC-401
B. C. A. (FOURTH SEMESTER)
END SEMESTER EXAMINATION, June/July, 2022
(ii) Answer any two sub-questions among (a), (b) and (c) in each main
question.
(b) Write and explain the following SQL commands with the help of
suitable example : .
(CUI)
CREATE, INSERT, SELECT, DELETE, UPDATE
P. T. O.
(2) TBC-401
2. (a) Explain the concept of Primary key, Foreign key, Super key, Candidate
(c) Explain scalar and group functions of SQL with suitable examples.
(CO2)
3. (a) Consider the following relational shemas and solve the given queries :
(CO3)
123.
working.
(iii) Find the names and DepartmentID of projects on which Mr. X and
(b) What do you mean by Relational Model ? Identify and explain some
relational model constraints. (CO3)
(c) Define and explain the following symbols in the context of relational
algebra : (CO3)
4. (a) State and explain 1st, 2nd, 3rd and BCNF with the help of suitable
examples. (CO4)
(b) Differentiate and explain 4th NF and 5th NF with the help of an
example. (CO4)
affiliation, Publisher).
Book_type -» Listprice
5. (a) What are the ACID properties of a transaction ? Explain the states of a
transaction. (CO5)
(4) TBC-401
T1 T2 T3 T4
Read (z) »
Read (y) Write (y)
Write (y)
Write (z)
Read (x)
Read (y)
Write (y)
Read (z)
1,
Write (z)
1
Read (y)
Write (x)
TBC-401 180
Roll No.........................
TBC-402
B. C. A. (FOURTH SEMESTER)
END SEMESTER EXAMINATION, June/July, 2022
MICROPROCESSOR
(ii) Answer any two sub-questions among (a), (b) and (c) in each main
question.
(iii) Total marks in each main question are twenty.
(iv) Each sub-question carries 10 marks.
(b) Draw the pin diagram of 8085 Microprocessor along with pin
description. (CO1)
(c) Explain the evolution of 8085 Microprocessor along with its features.
(CO1)
2. (a) Explain the addressing modes of 8085 Microprocessor with examples.
(CO2)
(b) Explain the flag register of 8085 Microprocessor. What are the
maskable and non-maskable interrupt in 8085 Microprocessor ? (CO2)
P. T. O.
(2)
4. (a) Write an assembly language program to perform sum of two 8-bit BCD
number with carry. (CO4)
180
TBC-402
Roll No.......................
TBC-405
B. C. A. (FOURTH SEMESTER)
END SEMESTER EXAMINATION, June/July, 2022
OPERATING SYSTEMS
Time: Three Hours
Maximum Marks: 100
Note : (i) All questions are compulsory.
(ii) Answer any two sub-questions among (a), (b) and (c) in each main
question.
(iii) Total marks in each main question are twenty.
(iv) Each sub-question carries 10 marks.
1. (a) Write and explain five major activities of an operating system in context
of process management. (CO1)
(b) Describe Multiprogramming and Multitasking Operating Systems.
(CO2)
(c) For the following set of processes, calculate the average turnaround
time, and average waiting time by using SRTN CPU scheduling
algorithm: (CO1,CO2)
Arrival Time Process CPU Burst
0 Pl 5
1 P2 2
4 P3 4
5 P4 3
P. T. O.
TBC-405
(2)
How many page faults would occur for LRU page replacement
algorithms ? Remember all frames are initially empty, so your first
Base Limit
Segment
231 114
717 201
1
232 69
2
619 532
3
.r, Mrrrnal arldrPRSeS ?
What are th
(i) 0,59
(ii) 0,261
(iii) 1,391
(iv) 3,222
(v) 3,911
(3) TBC-405
4. (a) What is File System ? Write and explain various components of UNIX
file system. Also, describe the behavior of computer system when its
file system is damaged accidentally. (CO4)
(b) What is computer file ? Describe contiguous, linked and indexed
allocation methods. (CO4)
(c) Draw and describe the structure of hard disk to represent sector,
cylinder and tracks. Suppose that the disk has 500 cylinders, numbered
from 0 to 499. The device is currently serving a request at cylinder
20, the previous request was at cylinder 27 and the queue of pending
requests, in FIFO order is 16, 170, 13, 20, 80, 50, 100, 200 and 40.
Starting from the current head position, what is the total distance (in
cylinders) that the disk arm moves to satisfy all the pending requests for
SSTF disk-scheduling algorithms ? (CO4, CO5)
P. T. O.
(4) TBC-405
TBC-405
iso
Roll No.
TBC-404
B. C. A. (FOURTH SEMESTER)
END SEMESTER EXAMINATION, June/July, 2022
JAVA PROGRAMMING
(ii) Answer any two sub-questions among (a), (b) and (c) in each main
question.
1. (a) Explain with’example how a process is differing then thread. What will
«
happen if we try to start a thread twice ? Explain with example.
P. T. 0.
(2) TBC-404
(b) What do you mean by method overriding ? Write a java code to achieve
method overriding.
(c) Why is final required ? What does happen if we use final in our
(b) How many types of Drivers are used in Java ? Explain each driver with
diagram.
(c) Create an ArrayList which will be able to store only Strings. Create a
elements.
4. (a) What do you mean by File ? Explain any two methods of File. Write a
obj.printNum( );
}}
(A) 20
(B) 100
(D) 2
int count = 1;
++ count;
P. T. O.
TBC-404
(4)
} //endwhile
} // end main
}
(A) 15 times***
(B) 8 times »♦♦ and 7 times +++++
(C) 15 times +++++
(D) Both will print only once
(III) What will be the output of the following Java program ?
class string_demo {
public static void main (String args[ ]) {
String obj = “I” + “like” + “Java”;
System.out.println (obj);
} I
(A) I
(B) like
(C) Java
(D) IlikeJava
(IV) What will be the output of the following Java program .
class Test {
public static void main (String[ ] args) {
for (int i = 0; i++) {
System.out.println (“Hello”);
}
}
(A) Hello
(B) No Output
(C) Compile Time Error
(D) Run Time Exception
(5) TBC-404
}
int fun() {
return 20;
}
(A) 20
(B) No output
dn
(C) Compile Time, Error
(D) Run Time Exception
(b) Write down the difference between execute( ), executeUpdate( ) and
executeQuery( ). As a Programmer which one you recommend and
why ? ill
(c) What do you mean by constructor ? Write a java code to overload the
constructor. Ivl
lin
rr.
nd
l&O
TBC-404
Roll No. Q
CO5 I