Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
2K views8 pages

Cat 1 Question Papers

These are the cat 1 questions of MCA

Uploaded by

Mehak Thakur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views8 pages

Cat 1 Question Papers

These are the cat 1 questions of MCA

Uploaded by

Mehak Thakur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

VIT

Vellore lnstitute of Technology

Schoolof Computer Science Engineering and Information Systems (SCORE)


FALL 2023-2024
Continuous Assessment Test (CAT - I)
Programme Name &Branch: MCA
Course Name &Code: PMCASO6L Cloud Computing
Slot: C1 Class Number: VL2023240106196,VL2023240106198,VL2023240106200
Faculty Name: Dr. DAPHNE LOPEZz, Dr. SUBHASHINI R, Dr. NADESH R.K
Exam Duration: 90 Mins Maximum Marks: 50

Answer all the Questions (5 *10 =50 Marks)


1. Elucidate the Distributed Computing Paradigms that include the
challenges in computing complex applications and data.
2. With an illustration, explain why Cloud Computing is referred to as an
"On-Demand Computing". Elaborate how cloud service providers
provide the on-demand functionality for their computing resources.
3. Identify the need for Service Oriented Architecture; explicate the
components needed to build the architecture with an appropriate
example.
4. "Many Enterprises are moving towards cloud for their business
process", Justify with the service model, deployment model provided by
the cloud service provider.

5. Imagine youto be a cloud architect, and if you have the


responsibility
of constructing adata center, what type of topology would you choose
and why? Elaborate.
VIT
tellore Institute of Techaulogy
Slot :E1+TE1

School of Computer Seience Engineering and Information Systems


FallSemester 2023-2024
Continuous Asscssment Test - I
Programme Name &Branch MCA
Course Name & code: Data Structures and Algorithms , PMCA501L
Class Number (s): VL2023240106168, VL2023240106l64, VL2023240106145
Faculty Name (s) Dr.N.Mythili, Dr.R.Seetha, Dr.M.lyapparaja
Exam Duration: 90 Min. Maximum Marks: 50
General instruction(s): Answer all questions (5*10 =50 Marks)

l, a) Consider an array of sizc 10 with four elements stored in it If each data lakes 4bytes to
Store , then compute the memory requirement of the array. If a linked list requires 4 bytes to
slore the address, then what is the memory requirement of a linked list? Compare both the
cases and justify which data structure is better in the given scenario. Also diflerentiate
them(6)
b) Elaborate the role of stack frames in function calls(4)
2. Assume that patients arrive at a hospital at random intervals. At times emergency cases
do arrive. Suggest a suitable ADT lo simulate the order in which the patients are treated.
Discuss an pseudocode for this simulation (10)
3. . In several applications, more than one stack may be requircd together. Some stacks
overflow whereas others are nearly empty. Suppose an application requires two stacks X and
Y (as below figure). One can define an array Awith N, elements for stack X and another
aray B with N, elements for slack Y. Now instead of dclining iwO separate arrays A and B,
we can define asingle aay, say AB, with N=N, +N,elements for Xand Ytogether. Let us
define the starting locations of items for stack X and Y as AB[0] and AB[N-1]respectively
and Xgrows lo the right whereas Y grows to the let.

+TOPX TOPY« 27

| Stack X Slack Y
2

With this scenario, overflow will occur only when X and Y together have morc than N
elements. This technique will usually decreasc the number of situations of occurrence of
overflow even though we have not increased the total amount of space reserved for the two
stacks.

Write algorithm for PUSH X, PUSH Y, POP X, POP Y and STATUS AB (to be defined
to test the slate of empty or full, percentage of spacc occupied by Xand Y) by considering
the above said scenario. (10)
\t. a) Perform the following for the given code.
struct node

{(char data:
struct node next;

}:
main( )
struct node *nl, *n2, *n3,*lemp;
nl= (struct node) malloc(sizcof (struct node):
n2= (struct node*) malloc(sizcof (struct node):
n3= (struct node*)malloc(sizcof (struct node)):
nl->next=n2:
n2->next=nl:
n3->next-n2,
temp=n3->next,

()Meniion the successor node for echof the des cealed in thc abe:e program. |1)
(ii)Which node is the successor for 2 nodes? |1]
(iii) Which is the node pointed to by
"(temp->next)->next" |1]
(iv)From which node if you start, you will be eble to visit (display) all the three
following the links? |2| nodes, by

(b) Write acode snippet to count the number of nodes in asingly


linked list and illustrate it.

5. a) Write the pseudocode lo perlom deletion of a node


specified by the user from a circular
singly linked list. Trace the execution of the algorithm (6)
b) What is an ADT? (2)

c) Mention the disadvantagcs of circular and singly linked lisLs(2)


VIT
; clore lustitute of Techuoleos
Slot: A1 +TAI
School of Computer Science Engineering and Information Systems
Fall Semesler 2023-2024
Continuous Assessment Test -|
P'rogramme Name &Branch: MCA
Course Name & code: Java Programming - PMCAS02L
Class Number (s): VL2023240106170, 6179, 61l74
l'aculty Name (s): Prof. MarccswariV, Prof. Vijayarani A, Prof. Thilagavathi M
Exam Duration: 90Min.
Maximum Marks: 50

Answer ALL Questions (5 * 10 = 50 Marks)


a) Java is a portable and a robust programing language.
Justify your answer. (4 Marks)
b) Specitfy when you will consider using a constructor. Also list and
explain the different lypes
of constructors with example code
fragments. (6 Marks)
2 a) Statc the diflerent uses of 'final' keyword with
example codc fragments. (3 Marks)
b)Create a class by name SumOfNumbers wilh members -
overloaded method by name sum()
having Iwo versions of it, The first version takes onc argunent of lypc
intcger-'n' and rcturns
the sum of first 'n' natural numbers The second version takes two
arguments, an intcger that
represcnt thc value of 'n' and a character. If thc passed character is 'E, the method should return
the sum of cven numbers betwccn l and 'n' and if the
character Is 'O' it should return the sum of
odd numbers between I and 'n'. In case of any other character, it should return
zero.
Create a main class to test the overloaded functions of thc above class.
(7 Marks)
3 The govct nment of every country lakes efTective initiatives lo
conscrve rare plants for future
generations. They conduct periodic assessmcnts to dclermine and storc the count of cach species
and their habitat. Crcatc a class by nane ConscrvcPlants and include the
following members.
Instance Variables
Specics Name, Count, and Habitat
Methods
i) AgetData() mcthod to rcad inpul details for the instance variablcs.
ii) Adisplay() method to display the details of a plant.
iii) A Static method specificHabilat( ) that takes an array of
objects of typc
ConscrvcPlants, the number of objccts, and the habitat as argumcnts and display thc
details of those species whose habitat matches with thc name of the habitat passed as
argumcnt and thecount is <50.
Crcate a main class to test thc abovc class for an array of 'n' objccts.

1
4. Create a class by name FacultyPublication with the following instance Variables - Faculty ID.
Name, Number of Publications and Numnber of Citations. The class should include a
paramcterized constructor that initializcs instaneevariables with the values specificd by the user
and a display() method
Create an inter face by name Calculate. The inter face should include amethod determinePoints().
Create another class FacultyPublicationPoint that extends FacultyPublication class and
implements theCalculate interface. The class should include a parameterizcd constructor that
invokes the parameterized constructor of the basc class explicitly. The class also should override
the determincPoints() method where the points scored by the faculty for citations is determincd
and displayed Use the following criteria todetermine the points.
<25 citations - 3 points
25 - 50 citations : 5 Points
SI - 75 citations : 7.5 Points
76 - 100 citations : 10 Points
For every additional S0 citation -2.5 points
Crcate a main class to test thc abovc class hierarchy.
Write a program to rcad 'n' numbers through command-line arguments and storc it in an integer
array. Display the squarc of cach clemcnt in the integer array (usc enhanced for loop). Include
appropriate exception handling mechanisms to handle NumberFormatException and
ArraylndcxOutOfBoundsException.

2
VIT
Vellore Inst1tute of Technology

School of Advanced Sciences


Department of Mathematics
Continuous Assessment Test -I
FallSemester 2023-24
Exam Duration: 90 mins
Programme Name & Branch: M.C.A
Slot: D1+TD1 Semester: I Maximum Marks: 50
Course Code: PMATS01L Course Title: Probability and Statistics
Faculty Name: M. Gowsalya, M.Nalliah, G. Mokeshrayalu Class Number: 6405

General instructions: Answer all the questions (5X10=50 Marks)


I. (a).The probability that a regularly scheduled flight departs on time is P(D) = 0.83; the probability that
it arrives on time is P(A) = 0.82: and the probability that it departs and arives on time is P(D nA) =
0.78. Find the probability that aplane (i) arrives on time given that it departed on time, and (i) departed
on time given that it has arrived on time. (5M)
(b).Suppose that we have a fuse box containing 20fuses, of which Sare defective. If2 fuses are selected
at random and removed from the box in succession without replacing the first, what is the probability
that both fuses are defective? (5M)

2. Amanufacturing firm employs three analytical plans for the design and devclopment of a particular
product. For cost reasons, allthree are used at varying times. In fact, plans I, 2, and 3are used for
30%, 20% and 50% of the products respectively. The "dcfcct rate" is different for the three procedures
as follows: P(D/P,)= 0.01,P(D/P,) = 0.03, P(D/P;) = 0.02, where P(D/P}) is the probability of
adefective product, given plan j. 1Ifa random product was observed and found to be defective, which
plan was most likely used and thus responsible? (10M)

3. Adiscrete Random variable Xhas the following probability distribution.


x: 0 1 2 3 4 5 6 7

p(x): a 3a 5a 7a 9a 11a 13a 15a 17a


Find the value of a, P(X < 3), mean, variance and cumulative distribution function of X. (10M)
4. The Joint density for the random variables (X, Y), where Xis the unit temperature change and Yis the
proportion of spectrum shif thata ccrtain atomic particle produces, is
0<x<y<1
elsewhere
(a) Find the marginal densities g(a), hy) and the conditional density f(y/x).
(b) Find the probability that ine spectrum shifts more than half of the total observations, given that
the temperature is increased to 0.25 unit. (10M)

5. Let Xand Ybe the random variables with joint probability distributions: (10M)
X 0 2

0 3 9 3
28 28
3 3
14
2 1
2
Find the expected values E(X), E(Y), E(XY), Marginal distributions and Covariance of Xand Y.
VIT
l'ellore lnstitute o Technologs
Slot : B1+TBI

Schoolof Computer Science Engincering and Information Systems


FallSemester 2023-2024
Continuous Assessment Test -I
P'rogramme Namc & Branch: MCA
Course Name & code: Databasc Systems- PMCAS03L
Class Number (s): VL2023240106181. VL20232 40106185, VL2023240106189
Faculty Name (s) MUTHAMIL SELVAN T, KARTHIKEYAN J, TAPAN KUMAR DAS
Exam Duration: 90 Min. Maximum Marks: 50

Q.No. Answer all Questions 5X10= 50Marks


1. If you were designing a Web-bascd Syslem l0 makc ai line reservations and sell airline
tickels, which clien/scrver DBMS archilecture for DBMS would you choose? Why? Why
would the olher architectures not be a good choice? Explain the chosen
architccturc. clienUscrver
2
Design an E/R diagram lor the following database The database for music stores details ofa
personal music library, and could be used 10 manage your MP3, CD, il's relatively simple
and stores only the relationships belween artists, albums, and tracks

Requirements for our database.


The collection consists of allbums.
Store the album details album id, allbum name, when it is
purchased and where it is
purchascd.
An album is made by exactly one artist.
An artist makes one or morc albums.
An album contains one or more tracks
Artists, albums, and tracks each have a namc.
Each track is on exactly onc album.
/ Each track has a time length measurcd in seconds.
Whcn a track is played, the date and time the playback began (1o the
nearest second)
should bc recorded; this is used íor reporting when a track was last playcd, as well
as the number of times music by an artist, from an album, or a
track has been
playcd.
can be used to kcep track of
rigure below shows an ER Schema for a bank database that schema and specify all
Customers account and loan details. Man this schema into a relational
primary keys and foreign keys.
BANK BRANCH
BANK BRANCHES
Coda (Namo Addr (Add1 Branchno
1

ACCIS LOANS

Acct_no) Balanca Lon no Amount

ACCOUNT LOAN (Type


M

Sen Namg Doorno

(PhoH CUSTOMER Addi

Emailid

4 Discuss about various constraints in the rciational model with appropriale example.

Consider the following schema:


Suppliers(sid, sname, address)
Parts(p1d, pname, color)
Catalog(sid. pid, cost)
Write the following queries in relational aigebra
A. Find the part lD whosc cosl is moje than 1000 Rupces (2 marks)
B. Counl howmany parts are there id cech color. (2 marks)
C. Find the suppliers |D who supply some red part (3 marks)
D. Find the names of suppliers who ipply some red part. (3 marks)

You might also like