Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
19 views
5 pages
Computer Studies Composite A19
Bsc computer past papers
Uploaded by
Sohail Afzal Tahir
AI-enhanced title
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
Download
Save
Save Computer-Studies-Composite-a19 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
19 views
5 pages
Computer Studies Composite A19
Bsc computer past papers
Uploaded by
Sohail Afzal Tahir
AI-enhanced title
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
Carousel Previous
Carousel Next
Download
Save
Save Computer-Studies-Composite-a19 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 5
Search
Fullscreen
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
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
From Everand
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
Mark Manson
4/5 (6458)
A Man Called Ove: A Novel
From Everand
A Man Called Ove: A Novel
Fredrik Backman
4.5/5 (5181)
Never Split the Difference: Negotiating As If Your Life Depended On It
From Everand
Never Split the Difference: Negotiating As If Your Life Depended On It
Chris Voss
4.5/5 (1005)
Principles: Life and Work
From Everand
Principles: Life and Work
Ray Dalio
4/5 (643)
The Little Book of Hygge: Danish Secrets to Happy Living
From Everand
The Little Book of Hygge: Danish Secrets to Happy Living
Meik Wiking
3.5/5 (464)
Grit: The Power of Passion and Perseverance
From Everand
Grit: The Power of Passion and Perseverance
Angela Duckworth
4/5 (650)
The Sympathizer: A Novel (Pulitzer Prize for Fiction)
From Everand
The Sympathizer: A Novel (Pulitzer Prize for Fiction)
Viet Thanh Nguyen
4.5/5 (141)
The Glass Castle: A Memoir
From Everand
The Glass Castle: A Memoir
Jeannette Walls
4.5/5 (1856)
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
From Everand
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
Brené Brown
4/5 (1175)
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
From Everand
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
Ashlee Vance
4.5/5 (582)
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
From Everand
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
Ben Horowitz
4.5/5 (361)
The Emperor of All Maladies: A Biography of Cancer
From Everand
The Emperor of All Maladies: A Biography of Cancer
Siddhartha Mukherjee
4.5/5 (298)
Steve Jobs
From Everand
Steve Jobs
Walter Isaacson
4.5/5 (1139)
The Woman in Cabin 10
From Everand
The Woman in Cabin 10
Ruth Ware
3.5/5 (2814)
The Perks of Being a Wallflower
From Everand
The Perks of Being a Wallflower
Stephen Chbosky
4.5/5 (4103)
The Outsider: A Novel
From Everand
The Outsider: A Novel
Stephen King
4/5 (2885)
Shoe Dog: A Memoir by the Creator of Nike
From Everand
Shoe Dog: A Memoir by the Creator of Nike
Phil Knight
4.5/5 (629)
Yes Please
From Everand
Yes Please
Amy Poehler
4/5 (2016)
Rise of ISIS: A Threat We Can't Ignore
From Everand
Rise of ISIS: A Threat We Can't Ignore
Jay Sekulow
3.5/5 (144)
Angela's Ashes: A Memoir
From Everand
Angela's Ashes: A Memoir
Frank McCourt
4.5/5 (943)
The Light Between Oceans: A Novel
From Everand
The Light Between Oceans: A Novel
M.L. Stedman
4.5/5 (815)
The World Is Flat 3.0: A Brief History of the Twenty-first Century
From Everand
The World Is Flat 3.0: A Brief History of the Twenty-first Century
Thomas L. Friedman
3.5/5 (2289)
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
From Everand
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
Margot Lee Shetterly
4/5 (1022)
Fear: Trump in the White House
From Everand
Fear: Trump in the White House
Bob Woodward
3.5/5 (836)
The Constant Gardener: A Novel
From Everand
The Constant Gardener: A Novel
John le Carré
4/5 (278)
Wolf Hall: A Novel
From Everand
Wolf Hall: A Novel
Hilary Mantel
4/5 (4135)
Bad Feminist: Essays
From Everand
Bad Feminist: Essays
Roxane Gay
4/5 (1090)
Her Body and Other Parties: Stories
From Everand
Her Body and Other Parties: Stories
Carmen Maria Machado
4/5 (903)
Sing, Unburied, Sing: A Novel
From Everand
Sing, Unburied, Sing: A Novel
Jesmyn Ward
4/5 (1267)
Team of Rivals: The Political Genius of Abraham Lincoln
From Everand
Team of Rivals: The Political Genius of Abraham Lincoln
Doris Kearns Goodwin
4.5/5 (244)
A Tree Grows in Brooklyn
From Everand
A Tree Grows in Brooklyn
Betty Smith
4.5/5 (2033)
The Unwinding: An Inner History of the New America
From Everand
The Unwinding: An Inner History of the New America
George Packer
4/5 (45)
John Adams
From Everand
John Adams
David McCullough
4.5/5 (2546)
The Yellow House: A Memoir (2019 National Book Award Winner)
From Everand
The Yellow House: A Memoir (2019 National Book Award Winner)
Sarah M. Broom
4/5 (100)
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
From Everand
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
Dave Eggers
3.5/5 (233)
The Art of Racing in the Rain: A Novel
From Everand
The Art of Racing in the Rain: A Novel
Garth Stein
4/5 (4372)
On Fire: The (Burning) Case for a Green New Deal
From Everand
On Fire: The (Burning) Case for a Green New Deal
Naomi Klein
4/5 (78)
Little Women
From Everand
Little Women
Louisa May Alcott
4.5/5 (2369)
Brooklyn: A Novel
From Everand
Brooklyn: A Novel
Colm Toibin
3.5/5 (2133)
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
From Everand
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
Gilbert King
4.5/5 (280)
Manhattan Beach: A Novel
From Everand
Manhattan Beach: A Novel
Jennifer Egan
3.5/5 (919)