T.Y BSC Computer Science Papers
T.Y BSC Computer Science Papers
T.Y BSC Computer Science Papers
:
P6390 [Total No. of Pages : 2
[6155]-51
T.Y. B.Sc. (Computer Science)
CS-351 : OPERATING SYSTEMS-I
(Revised 2019 Pattern) (Semester-V)
P.T.O.
Q3) Attempt any TWO of the following. [2×4=8]
a) What is process? Explain in different types of process states?
b) What is fragmentation? Explain the types of Fragmentation.
c) Consider the following set of processes with the length of CPU burst
time and arrival time given in milliseconds.
Process Burst time Arrival time
P1 4 2
P2 6 0
P3 2 1
Illustrate the execution of these processes using Round Robin (RR) CPU
scheduling algorithm consider the time quantum is 3. calculate average
waiting time and average turn-around time. Also draw the Gantt chart.
[6155]-51 2
Total No. of Questions : 5] SEAT No. :
P-6391 [Total No. of Pages : 2
[6155]-52
T.Y. B.Sc. (Computer Science)
CS - 352 : COMPUTER NETWORKS - II
(2019 Pattern) (CBCS) (Semester - V)
Time : 2 Hours] [Max. Marks : 35
Instructions to the candidates :
1) All questions are compulsory.
2) Draw neat and labelled diagrams wherever necessary.
3) Use of calculators is not allowed.
[6155]-52 2
Total No. of Questions : 5] SEAT No. :
P6392 [Total No. of Pages : 3
[6155]-53
T.Y.B.Sc.
COMPUTER SCIENCE
CS-353 : Web Technologies - I
(2019 Pattern) (Semester - V) (CBCS)
Time : 2 Hours] [Max. Marks : 35
Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.
P.T.O.
b) Find the Output
<?php
$file=fopen(“samp1e.txt”, “w”);
fclose($file);
?>
<?php
var_dump($a);
?>
[6155]-53 2
Q4) Attempt any TWO of the following. [2×4=8]
[6155]-53 3
Total No. of Questions : 5] SEAT No. :
b) What is mean, mode, median and range for the following list of values:
b) What are the different methods for measuring the data dispersion?
[6155]-54 2
Total No. of Questions : 5] SEAT No. :
P6394 [Total No. of Pages : 2
[6155]-55
T.Y.B.Sc.
COMPUTER SCIENCE
CS - 355 : Object Oriented Programming Using Java - I
(Revised 2019) (CBCS) (Semester - V) (Paper - V)
P.T.O.
Q3) Attempt any TWO of the following: [2×4=8]
a) Write a java program to delete the files having extension. txt. (Use
command line arguments)
b) Write a java program using swing to accept the details of project (PID, P
Name, duration) from user and display it by clicking on a button.
c) Define an abstract class Shape with abstract method area ( ). Write a java
program to calculate area of Triangle.
[6155]-55 2
Total No. of Questions : 5] SEAT No. :
P-6395 [Total No. of Pages : 3
[6155]-56
T.Y. B.Sc. (Computer Science)
CS - 356 : THEORETICAL COMPUTER SCIENCE
(2019 Pattern) (CBCS) (Semester - V)
Time : 2 Hours] [Max. Marks : 35
Instructions to the candidates :
1) All questions are compulsory.
2) Figures to the right indicate full marks.
e) What is Reduction?
i) Write down the -closure of each state from the following FA.
P.T.O.
Q2) Attempt any Four of the following (out of Five) : [4 × 2 = 8]
a) Explain two methods for defining language. Accepted by PDA.
b) Explain types of regular grammar.
c) Construct FA for regular expression ((1+0)* + 100)*.
d) Differentiate between Moore and Melay Machine.
e) State two differences between TM and LBA.
[6155]-56 2
Q5) Attempt any One of the following (out of Two) : [1 × 3 = 3]
a) Show that L = {On 1n On} is not regular.
A SA/BB/bB
B b/aA/
[6155]-56 3
Total No. of Questions : 5] SEAT No. :
P6396 [Total No. of Pages : 3
[6155]-57
T.Y. B.Sc. (Computer Science)
CS-3510 : PYTHON PROGRAMMING
(Revised 2019 Pattern) (CBCS) (Semester - V)
Time : 2 Hours] [Max. Marks : 35
Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.
3) Total number of questions are five.
a) What is indentation?
b) Write code to print the elements of the list 11 = [10, 20, 30, 40, 50]
b) What are the usage of tuples zip (), tuple(), count() and index() functions?
[6155]-57 1 P.T.O.
c) What is an anonymous function? How to create it? Explain with example.
[6155]-57 2
Q5) Attempt any one of the following: [1×3=3]
a) Check1 = ['Learn', 'Quiz', 'Practice', 'Contribute']
Check2 = check1
Check3 = check1 [:]
Check2[0] = 'Code'
Check3[1] = 'Mcq'
Count = 0
For c in (check 1, check2 check3):
if c[0] == 'Code':
count + = 1
if c[1] == 'Mcq':
count + = 10
print (count)
b) Counter = {}
Def add To Counter (Country):
If country in counter:
Counter [country] + = 1
Else:
Counter [country] = 1
Add To Counter ('China')
Add To Counter ('Japan')
Add To Counter ('china')
Print (len(counter))
[6155]-57 3
Total No. of Questions : 5] SEAT No. :
P-6397 [Total No. Of Pages : 2
[6155]-58
T.Y. B.Sc.
COMPUTER SCIENCE
CS - 3511: Blockchain Technology
(2019 Revised Pattern) (Semester - V) (CBCS)
Time : 2 Hours] [Max. Marks : 35
Instructions to the candidates :
1) All questions are compulsory.
2) Figures to the right indicate full marks.
3) Neat diagrams must be drawn wherever necessary.
b) Define PoW.
c) What is DApp?
d) What is consensus?
e) What is Nonce?
f) What is Ether?
h) What is DAO?
[6155]-58 2
Total No. of Questions : 5] SEAT No. :
P-6398 [Total No. of Pages : 2
[6155]-61
T.Y. B.Sc. (Computer Science)
CS361 : OPERATING SYSTEMS - II
(2019 Pattern) (Semester-VI)
Time : 2 Hour] [Max. Marks : 35
Instructions to the candidates :
1) All questions are compulsory.
2) Figures to the right indicates full marks.
[6155]-61 2
Total No. of Questions : 5] SEAT No. :
P6399 [Total No. of Pages : 2
[6155]-62
T.Y. B.Sc. (Computer Science)
CS-362 : SOFTWARE TESTING
(Revised 2019) (Semester - VI)
P.T.O.
Q4) Attempt any two of the following: [2×4=8]
a) What is Web application? How it works? Explain diagrammatically.
b) What is unit testing? How it works? Explain with example.
c) What is test case? Explain with example.
[6155]-62 2
Total No. of Questions : 5] SEAT No. :
P-6400 [Total No. of Pages : 2
[6155]-63
T.Y. B.Sc. (Computer Science)
CS-363 : WEB TECHNOLOGIES - II
(2019 Pattern) (CBCS) (Semester-VI)
Time : 2 Hours] [Max. Marks : 35
Instructions to the candidates :
1) All questions are compulsory.
2) Figures to the right indicate full marks.
P.T.O.
Q3) Attempt any TWO of the following : [2 × 4 = 8]
a) What is XML parser? Explain it with its types
b) Explain the workflow of MVC Architecture.
c) Write a note on Ajax Web Application model.
[6155]-63 2
Total No. of Questions : 5] SEAT No. :
P6401 [Total No. of Pages : 2
[6155]-64
T.Y. B.Sc.
COMPUTER SCIENCE
CS-364 : Data Analytics
(CBCS Rev 2019 Pattern) (Semester
- VI)
Time : 2 Hours] [Max. Marks : 35
Instructions to the candidates:
1) All questions are compulsory.
2) Neat diagrams must be drawn wherever necessary.
3) Figures to the right indicate full marks.
P.T.O.
Q3) Attempt any two of the following: [2×4=8]
a) Write a short note on community detection.
b) Explain Apriori algorithm.
c) Short note on challenges in social Media Analytics (SMA)
[6155]-64 2
Total No. of Questions : 5] SEAT No. :
P-6402 [Total No. of Pages : 2
[6155]-65
T.Y. B.Sc. (Computer Science)
CS-365 : OBJECT ORIENTED PROGRAMMING USING
JAVA - II
(2019 Pattern) (CBCS) (Semester-VI) (Paper-V)
Time : 2 Hours] [Max. Marks : 35
Instructions to the candidates :
1) All questions are compulsory.
2) Figures to the right indicate full marks.
[6155]-65 2
Total No. of Questions : 5] SEAT No. :
P6403 [Total No. of Pages : 3
[6155]-66
T.Y. B.Sc. (Computer Science)
CS - 366 : COMPILER CONSTRUCTION
(2019 Pattern) (Semester - VI)
e) State one difference between annotated Parse tree and dependency graph.
j) State True or False : Shift - Shift conflict does not occur in LR Parser.
P.T.O.
b) Write difference between LL parser and LR Parser.
c) Compute Leading and Trailing symbols of the following Grammar:
S (T) | a |
T T, S | $
S A|B
A aA | b
B dB / b
[6155]-66 2
b) Construct triples and Quadruples for the following expression :
(a+b)*(m–n) (m+n)
c) Consider the following SDD and construct Annotated Parse tree for
input string 3*5* 2
Production Semantic Rules
E TE E.inh = T.val
E.val = E.syn
E E.syn E.inh
T1.syn T1.syn
T1 T.syn T.inh
S Aa | b
A Ac | sd|
[6155]-66 3
Total No. of Questions : 5] SEAT No. :
[6155]-67 2
Total No. of Questions : 4] SEAT No. :
P8766 [Total No. of Pages : 2
[6155]-101
S.Y. B.Sc.
COMPUTER SCIENCE
CS - 212 : Relational Database Management System
(2013 Revised Pattern) (Semester - I) (21122) (Paper - II)
a) Define Trigger.
f) Define cursor.
g) What is downgrading?
h) Define checkpoints.
P.T.O.
Q2) Attempt any 2 of the following: [2×5=10]
a) Explain client-server architecture benefits.
b) What is transaction? Explain ACID property of transaction.
c) Explain desirable properties of decomposition
[6155]-101 2
Total No. of Questions : 4] SEAT No. :
P8767 [Total No. of Pages : 2
[6155]-102
S.Y. B.Sc.
COMPUTER SCIENCE
CS - 221 : Object Oriented Concepts Using C++
(Revised 2013 Pattern) (Semester - II) (Paper - I) (22121)
b) What is destructor?
j) Which flags should be used to open a binary file for writing only if the
file does not exist?
P.T.O.
Q2) Attempt any two of the following: [2×5=10]
a) What are different types of inheritance? Explain multilevel inheritance
with example.
b) Create a class Fraction containing data members as Numerator and
Denominator. Write a C++ program to overload operators to add and
multiply two Fraction.
c) Create a C++ class Sumdata to perform following functions:
int sum(int, int) - returns the addition of two integer arguments.
float sum(flaot, float, float) - returns the addition of three float arguments.
int sum(int [ ] ,int) - returns the sum of all elements in an array of size ‘n’.
Write a C++ program to illustrate the use of above class.
[6155]-102 2