0% found this document useful (0 votes)
19 views5 pages

Computer Studies Composite A19

Bsc computer past papers
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
19 views5 pages

Computer Studies Composite A19

Bsc computer past papers
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 5
UNIVERSITY OF THE PUNJAB B.A./ B.Sc. (Composite) Annual Exam —2019 MAX. TIME: 2 Hrs ae ei ATTE) IS (SUBJECTIVE) ON THE SI RATE ANSWER SHEET PROVIDED Note: Attempt any FOUR Questions. All Questions carry equal marks, Q3._ Differentiate hotween the following: 42) Application software and System software bb) Trackbatl and Touchpad ©) LCD monitor and CRT monitor ), Magnetic and Optical storage ©) LAN ancl WAN QA. 3) Deserbe the basi operations of machine eye. b) Whatiscache memory? Discuss its working and usefuless QS. Explain the working of Internet Discuss the use of computer anf Tnieme in our dally life Panning and decision makin 206: Wri a VB 6 program to prepare the salary sheet of an employee. The programy should input the monthly salary, over time (in hows) andl numberof leaves. Using dese inputs, compute the net monthly salary oft employee ou the basis ofthe flowing calculations + Compute hourly pay ofthe employee (assume 200 working hours i a month + Agsoversime payment 4 Deduct eaves payment forthe leaves exceeding 2 (for | of 2 eaves -mo deduction) + Add 1596 of the monthly slay as an allowance Deduct 12% tax aller adding / deducting the above ansounts ou: 8), Water can be in three possible states, ie, liquid, steam or ice depending on the temperature 25 given in the following table: [Waters Betwoen Vand 100 10 Sieam ‘Write @ VB 6 progsam that asks the user to enter temperature and determines the state of wate. 1) What is syntax error, logical error andl time exo? QHB: Write u program that compiles the aumber ofall the even integers and sum of ll the even intsgers berween two integers Ni and N2 provided by the wser. For examples, HINT = and N2 ~ 12, thea the number of even integers between NI and NZ is 4 and the sim is GH¥+10F12 = 36 TENT = 4 and N2 = 13, then dhe number of even integers betwen Nan ND is 5 and the suum is ANGERSIOFID = 40, UNIVERSITY OF THE PUNJAB “Soll No, in Fig. /B,Se, (Composite) Anni = 201 SS Roto. fe Words MAN. TIRES # He 5, Parca erst MAK: MAKES r A this s q *. igntore a Spa rect. iviston iven i ols lus s, “This Paper will be back: of ‘mentioned abors, QU. Encircle the right answer eutting and overwriting is not allowed. (1x10=10) 1 Ta powes of interpreting an ionnation incaied (xyFowh —* (B) Translate (Cy Decode (Dj Rrecute 2, IRM sands for (A)lesemsl Business Mangement (C)Inirlinal Business Maragerent {B) eterunionsl usiness Mchines (1D) Itural Business Machines 3. Which of ie flowing i no par of CPLIP (aatu (ny cscimt Unit (C)Main Memory (Dy Reistes 4 Dita besomes_was pests n a ema bt peuple cum undersea e, (Aprocessed (8) graphe (C) aformacion —(D)presentaton 5. Select the NM oe (AyOperaing ystems (B) Louerpreter —(C) Comair (D) Asser 6 stents to procice machines tna play the same ype of itlbigeneethac humans do (apNamoscience (8) Nasogecowingy (C) Sissi (D) Ania! Eeltipence( Al) <7) Which a the following wa binary umber? canon ia yD AH LAO hres in tive memary an reptewes itself one bata infect computes: (ANTime bomb (B) Worm —C) Melisa views (D) Magra ae 8 ‘computers ae of large ae (Aysti ——(B) Mainframe (€) Super (D) Mini 10, Which of dhe following the fastex mem (aicbe 8) Razer AE)RAM. —(D) Mand Dink Q2._Encircle the right answer cutting and overwriting is not allowed, (1210-10) 1 What isthe wal integer variable x eth statment = 20 MOD 345 sexi? wi DSM 2. Ley 1Oan l= True, den he expression (A<= 10) AND C eval kayTine (8) Fabs 3. As Imteper type variable usin te ellowing defi vas we ae 1 mass 44 elation operat allow youre amber SAJAGH (B}MUiply (C) Compare (0) Categorize 5. Which ofthe following yropertesdtersines he ures 0 element? 4A)Size (H}Elemeats «C) Longe (D) NemnberOBlemencs 6. Dynarnic amaya ean be declacel wea wer may kw the_aF he ay at design ne (Ajexastcohann (B)exaet variable (Cyenac value (D)oxact ste i bo provi st afc othe user (aylie (h) Command ——_(C) Besse (Oy Tent Ri Theis roof we (or both input outpt puree (A)comnand buss, ¢B)texi bax (C)abel—_ (D) st bas 9, __sesnorteut key ed wr aR © oP 10. property wed ide the tol al sues hy ting tale Fale. {Ayviinie (By enubted (Chhide ——€D) dclete eveetion of VB program, UNIVERSITY OF THE PUNJAB B.A./ B.Sc, (Composite) Annual Exam ~ 2019 MAX. TIME: 2 Hes MAX. MARKS: $0 Subject: Computer Stadies PAPER: B EMPT THIS (SUBJECTIVE) ON THE S| NSWER SHEET PROVIDED Note: Attempt any FOUR Questions. All Questions carry equal marks. Define Entity, attribute and relationsh and also discuss briefly their types. (Marks:12.5) BD (tarts: 3.5+9-125) Differentiate Specialization and Generalization +b) Normalize the following “Custos step by step, show eact _Order” Relation up ta 3" Normal form but fermediate resultant table with its data Snr j a —- ; : ] [, | om > + ' | 1 {soi | t | cote [ tate [1 | camer | soo | s000 | 0 | sa00 . ST sie oot j 10Feb 1 2 | sore! | 2 | mia [ xameté [2 [sie | 10 | 2 7o0o | 700 | 7700 iT Ser [9000 | 1] 7 4 te x00 a) RD] + S . | ora’ | Gohwr | Lahore [4 | tie {59 | 2 | 1000 | 100] 1100 1 Feb | 4 coi | 3 | Sidra | Quer [a 5000} 1 | S060 | 500 | $300 | Tare . $ [BEET | iomie | ame | 2 tin | = [en | 2m | DF (Marks:5+7.512.5) Notes use the following EMP table for answers of part a and part b, EMP (empno, empname, job, salary, Hiredate, commission, deptno) BD Write a SQL statement on EMP table, which displays. emy revised salary of all employees. For revised salary calvala criteria: ic, job, salary and lease use the following peel Salaraigeierin merease in their salary] PTO. UNIVERSITY OF THE PUNJAB Ss, ron'so.in rg LA. / B.Se. (Composite) Annual Exam = 2019 Se iti dil MAX. TIME: 1 Hr. * Sect: Computer Suites MAK THM: 1 ‘Attempt this Paper on this Question Sheet only. °s Signature of Supt Please encircle the correct option. Divisios warks is giver in front of eae! testion... This Paper will be ied back after expiry limit mentioned above, oS Qu. Encirele the right answer cutting and overwriting is not allowed. (1x1 0=10) 1. The language used to INSERT, UPDATE and DELETE data in a database is called the.. . A) Structure Manipulation Language 'B) Data Definition Language ©) Data Manipulation Language 1D) Data Control Language 2. More than one PRIMARY Key can be created for each table in a relational database. A) True B) False (C) Statement is not clear + 3. Column of a relation in relational database is called ite B) Relaticnat column C)Entity —-D) Record A) Au 4. In entity relationship diagram, many to many relationship is represented by M’M ~ instead of MIN A) True B) False ©) Statement is not clear 5. The number of entities in a relationship is called the of relationship A) Cardinality B) Degree ©) Domain DyNone of them 6, IESTUDENT and COURSE participate in a relationship, this is an example of a(n) A) Unary relationship B) Binary relationship. C) Temary relationship. 1) Coupled relationship 2A entity is one whose existence depends on another entity, A) Weak B) Strong ) Structured D) Independent 8. More than one Foreign Keys can be created for each table in a relational database. A) True B) False () Statement is not clear 9. nan E-R diagram attributes are represented by au B) Rectangles ©) Diamond shaped box —_D) Ellipse 10, The sub-language of a SQL used to describe the structure of a database is ca est oma sr ure of @ database is called the AyTrve B) False C) Statement is not cleur PTO, BF Choose the most appropriate option for the following statements (Please write only correct options, no need to write whale Answer). (Marks:10) Lin atall times, . transmission, the channel capacity is shared by both communicating devices A) Simplex B)Half-duplex —C) Full-duplex D) Halt-simplex 2, Which of the following scheduler is invoked on an 1/0 interrupt A) Long term scheduler B) Medium term scheduler (©) Short termn scheduler D) None of them 3. One method for reducing intemal fragmentation is to use partitions of different sizes. AyTive B) Valse ) Statement is not clear 4, On interactive systems, the average time it takes the system to start responding to user inputs is called... A)Response time 8) Tumaround time C) Wait time D) None of them 5, When process is created, the operating system must create a PCB for that process. A)Twue BY False C) Statement is not elear os sosseeeesprocess is one that shares information with or controls the sequence of instructions execuled by another process. A) Shared B) Iniegrating C) Cooperating ——-_—D) Binding 7. An inteerupt is an event generated by the CPU and contra! goes to the Operating System A) True B) False ©) Statement is net clear 8 Multipoint Line configuration is also called...... 7 A) Point 10 Point Line configuration B) Multi-drop Line configuration ©) Multi-Atsibute Line configuration —_—_D) Multi-Connection Line configuration 8. ocsannseoeds made of glass oe plastic and transmits signals in form of Hight, ‘A) Optical Fiber B) Coaxial Cable C) Optical Fiber) All of them 1A ten data communication system covering am area the size Of a town or city A) Loeal Area Network (LAN) 8) Metropolitan Area Network (MAN) C) Wide Area Network (WAN) —_D) None of them, ”

You might also like