ll0lg: University The Punjab.
ll0lg: University The Punjab.
8. To rnake a rrunrber in cell Ctl l07o snraller than the number in CIJ you enter
a. =C.i*l l0 c. +Cj*llg
b. =Ci',.90 d.:cr3%10
9. 'fhele are threc
typcrs oi clata fbund in a spreadsheet
a. nurrrhe rs firr.;lu las. labels c. w ord s, rrunrbers. labels
b, eq u at irlns. rJata, nurnbers d. dala.,ur,orcls. rr u nrber-s
10. w'lrich option cnir lrs used to set custonr tiurings ibr slides in a presentation.,)
a. Slider'-l'irninqs c. Rehearsal
b. Slider.l irncr d. Slide Sho* Setup
UNIYERSITY OF THE PUNJAB
First Semester 2017
PAPER: Computer (Introduction and Applications) TIME ALLOWED: 2 hrs. & 30 mins.
Course Code: COMP-I11/ CMP-I1106 / 1I019 MAX. MARKS: 50
Q2. Give brief answers to the following questions (Short Questions) Marks: (10*2:20)
Q3. Give detail answers to the following questions (Long Questions) Marks:30
3. Write down the proceclure to create the follorving Table also write how to Change the table background color, border
color, border style, colunrns lreight and rows width. ( l0)
MS WORD MS EXCEL
66 88 99 87
UNIVERSITY OF THE PUNJAB..
RolI No.
f irst Semester 2017
Exami4ation: B.S. 4 years programme
PAPER: Computer-I
TIME ALLOWED: 30 minis:..
9ourse Code: COMp-lOl MAX. MARKS: 10
Attempt this paper on this go"rtioiiiiiS.
Choosc correct option.
A. Creater number of
pixe ls
'
B. Larger pi*et
_
sizel-Ai.rra[ vEce
1
D. Bigger --_t
picture
_l recognition
I
5. wn".f,r ._-.
of tfr" f"ilo*rng rs a non-impact printer?
"*
I A. Line Printer B. Ink-jet Printer
D. Active rnatrix
Printer
6. 'l'hc is ,seafilrreiad"r pc.
---...._----- r" #,J.,.r. thei;.""
I A. finger
D. Read Only
Memorv
exarnple. Also write any two features of MS Excelwith their uses and
applications I0
....
UNIVERSITY OF THE PUNJAB Roll No.
First Semester 2017
Examination: B.S. 4 Years Programme
I. _ is a device that translates digital signals into analog signals and vice versa.
a) Modern
b) Computer
c) Language decoder
d) router
VI. are motion effects that occur in Slide Show view w\en,you move from one slide to
the next during a prrsentation.
a) Slide transition
b) Slide animation
c) Slide design
d) Slide background
VII. contain formatting, positioning, and placeholders for all ofthe content that appears
on a slide.
a) Slide design
b) Slide layout
c) Slide master
d) Slide show
x. From the followings options, which is NOT a true format for SUM formula?
a) =surn(a1:b5:c5)
b) :surn(a1,b5,c5)
c) :sum(a1:b5,c5)
d) :sun(al:b5,c1:c5) i
UNIVERSITY OF THE PUNJAB
aaaaaaaaaa.a
SUBJECTIVE Tl?E
(a) count blank (b) average (c) maximum (d) today (e) mixed reference
Q.4 What is volatile memory? Explain different types of RAM in detail. (10 marks )
Q.s What is programming language? Explain different programming languages in detail. (10 marks )
UNIVERSITY OF THE PUNJAB.....
Roll No,
Second Semester - 2017
Examination: B.S. 4 Years Programme
Note: Over-writing, Cutting, Erasing, Using lead pencil will result in loss of marks.
1) Software that defures a database, stores the data, supports a query language, produces
reports and creates data entry screens is a:
A) data dictionary B) database management system (DBMS)
C) decision support tystem D) relational database
2) The separation .rf the data definition from the program is known as:
A) data dictionary B) data independence
C) data integdty D) referential integrity
4) The traditional storage of data that is organized by customer, stored in separate folders
tdatabaser system:
in liling cabineb is an example of what type of
A) Hierarchical B) Network
C) Object oriented D) Relational
5) The database design that consists of multiple tables that are linked together through
matching data stored in each table is called a:
A) Hierarchical database B) Network database
C) Object oriented database D) Relational database
9) Two different terms are used to describe the characteristics of interest for an entity.
They are attributes and:
A) classes B) entities
C) properties D) traits
10) Database system modelers use this type ofdiagram to graphically represent both the
data structure andt how the different objects are interrelated.
A) Class Diagram B) Data Diagram
C) Object Diagram D) Table Relationship Diagram
UNIVERSITY OF THE PUNJAB
aa aaaaaaaaaaaaaaaaa
aa aaa.
Marks (2*1(F20)
Q2. Give Short answer of the following questions.
1. DefineNormalization?
2. What is functional dePendencY?
3. How many components of the DBMS?
4. Define stored attributes and derived atffibutes?
5. What is an ERD?
6. Difference between Generalization and Specializatiori?
7. Explain the term of Data Integrity?
8. Difference between data and information?
9. Define metadata?
10. Difference between primary key and altemate key?
3.----- is a collection of unprocessed items, which can include text, numbers, images, audio and video.
5.Microsoft Excel is
Answer the following short qucstions. Each question carries equal marks. (2 x 10)20
3. Describe and exp.lain Creating Charts in Excel with example. Also Write any two features
4. Which JDBC driver Type(s) can be used in either applet or servlet code?
?. Given a class named Book, whictr one of these is a valid constructor declaration for the class?
userid' password);
A) Connection con = DriverManager'getConnection(url'
Ql: Each question has FOUR possible answers. Select the correct answer and encircle it.
lxl0=10
i. The following refers to the series ofinpul process and storage activities:
(a) Data type (b) email (c) Internet (d) information processing cycle
ii. Decimal number 32 has its equivalent binary that is equal to:
(a) ll0lll (b) 10001 (c) 100000 (d) 0101000
iii.Which of the following is a float data value in C++:
(a) false (b) 5.5 (c) 4
(d) true
iv. The statements repeated and executed from top to the bottom in C+ program flow
control is called:
(a) Operator (b) sequence (c) repetition (d) selection
v. The arranged numbers of steps written to solve for a particular problem is called:
(a) solution (b) pseudo code (c) algorithm (d) flow chart
vi. The file extension of Microsoft document file is:
(a) .file (b) .ppt (c) .txt (d) .doc
vii. The example of identity verification of a person by a personal characteristic is:
(a) CNIC (b) NTN (c) Biometrics (d) Roll number
viii. Which one of these is not an example of storage devices?
(a) RAM (b) Tape (c) floppy (d) DVD
ix. The working speed of a computer is determined by:
(a) ROM (b) RAM (c) keyboard (d) CPU
x. A computer program that facilitates user to share information to social community is:
(a) Power point prescntation (b) face book (c) application program (d) All
UNIVERSITY OF THE PUI{JAB
Third Semester 2017 : :
Examination : B. S. 4 Years Prosramme i .*ll.'i::';:'i: :i: ;; ;: ;:':'. i
PAPER: Computer Science-I TIMB ALLOWED:2 hrs. & 30 mins.
Course Code : COMP -2ll IIT -21335 MAX. MARKS: 50
Attempt this Paper on Separale Answer Sheet provided.
SUBJECTIVE
2 Define the term *KB' and 'GB'. What is the difference between a
bit and a bfle?
4 What are the necessary I/O devices for your computer? Name at
least one single device that can act as input as well as output device.
Q.3. Write program to read qb and c values for a triangle sides and l0
calculate area such that I = Js(s - aXs - 6Xs - c) , where
J-
Q.4. l0
The time period of a simple pendulum is given by: T = 2, .
^E
llg
Write program to determine and print the time ( T ) against lenglh
(/ ) values. Use l,ength (I) varies from 1 to 20 meters in steps of 5.
Take g: 9.8 m/s" .
What is a variable declaration in C++? Describe rules for giving
variable a name? Declare the variables x and y of integer type.
5. ---------------is a data type that can be used to declare a text of maximum 10 million characters.
a. Simple Precision b. Data c. String d. Numeric
10, Dynamic arrays can be declared when the user may not know the----------of the array at
design time.
Answer the following short questions. Each question carries equal marks. (2 x l0)20
1. What is IDE?
2. Differentiate between logical and Syntax efrors?
3. Dilferentiate belween Compiler and Interpreter?
4. Explain MDI?.
5. What is Multidimensional Arrays?
6. Explain Databse Programming?
7. What is Modality?
8. What is pop up menu?
9. Explain Sglect Case in control statment?
10. Differentiate between save and save as?
Answer following long questions. (l0x 3) 30
3.Write a program to read in 10 integers and display the sorted integers in descending order?
UNIVERSITY OF THE PUNJAB.... RoIl No.
Fourth Semester - 2017
Examination: B.S. 4 Years Programme
\\
PAPER: Computer Science-Il TIME ALLOWED: 30 mins. '..
Course Code: COMP-212 llT-22335 MAX. MARKS: 10
-- "
. Attempt this Paper part on this Question Sheet only.
Objective
Ql: Each question has FOUR possible answers. Select the correct answer and encircle it.
1x10=10
Q.5. 2+8
Write syntax for a user defined function in C++? What is advantage
of a user define function?
For a pendulum, the time period T is given by:
rT
.T =2o,lL, where.59.8 m/s2and lerlglh
, , Ig 4'
( / ) varies from 0.2 to 0.8, with step size of 0,05. Write a program
to print out T against length values using arrays, Also calculate
maximum and minimum values of T.