KYAMBOGO 48880 UNIVERSITY
FACULTY OF ENGINEERING .
EM 112/DEM112: Introduction to Computer Science
Due: 29" October 2014 before 6 pm.
Assignment 2
Instruction: Attempt ALL questions.
Question One
Convert 430331444253.34201443324s to bases 25 and 125, using Chopping method.
a)
>) A certain computer uses 13-bit words for storing a floating-point number:
* 1 bit represents the sign, S; 0 for positive, | for negative;
® the exponent, E, is a 4-bit value, stored in 2's complement form;
* the mantissa, M, is a 8-bit normalized value, with the binary point assumed to be just
in front of the leftmost bit.
i What are the largest and smallest Positive values which may be represented?
ii) What is the smallest positive number which may be represented if the ruantissa is
allowed to be un-normalized?
iii) Give the representation of ~9.68754325 and 758924631 Stating the error in —
each representation.
Question Two ” '
a) Create an e-mail address like
[email protected]
b) Send three e-mails to
[email protected]
@) Subject: High School Experience
Write four paragraphs (three lines @ ) about ‘O” level experience.
Write four paragraphs (three lines @ ) about ‘A’ level experienes,
Write six paragraphs (three lines @ about Diploma experience (for
Only upgraders....)
é) Subject: University Experience
Write four paragraphs (three lines @) about 1* year Semester One
experience.
The layout should be as below:~
Dear Mr. Gessa,
(Essay ]
Yours faithfully,
[Your Names & Registration Number ]
(Your Course Programme }
[ Phone Number ]
’©) Subject: Football clubs in Europe
Use Google to obtain information about
the following football clubs: Arsenal FC,
Sevilla FC, Ajax FC, and Roma FC.
Write a paragraph on each one of them.
Question Three
The council shalt exercise ali such powers and do all such things as may be
See ed or done by NY ACOP s2.ve such as are by this constitution required to be by
NYACOP in Generat Meetings.
All acts done by authority of the council in
express or implied of NYACOP shall be deemed to
i be indemnified by NYACOP foi
cil may incur or become liable
or act or things done by him as such member of the
his duties
good faith and with the authority
be acts of NYACOP and every member
any costs, looses and expenses wich any
to by reason of any contracts entered into
re council or in any way in the charges of
The purpose of this letter is to inform your;
our dear customer that beginning May
1 2012, all our supplies will
be sold at new rates. Below is the new price list.
Item Old price New price
Distillation column 1 15000 per piece 190,000 per piece
Benedict's solution 5,500 per piece 110,000 per litter
Flat— bottom flask 12,500 per litter 15,500 per liver
Bumett 5,000 per litter 20,500 per piers
{leaf electroscone ~ [100,000 per titer [3,000 per iter
Required:-
+». Using a word processor, reproduce the document above as itis,
b) \veate a drop cap to the First paragraph and it should drop Four lines
4) Insert a text water mark in your names and give it colour green
*t) Line space the entire document with 2 spacing between
vf) Put the second paragraph in two columns
‘g) Change the First paragraph into capital letters and change its font size to 16
h) Change Text Orientation of Item, Old Price and New Price with 30 degrees incline
and format the headings in colour BLUE
i) Save the file with the name “NYACOP” in your desk top folder
This document is ‘supposed to be sent to fifteen people of different dignitaries for review
using mass mailing facility incorporated in MS WORD application.
4) Create a subfolder named “Mass mailing”, undsr the main folder you created
1) Re-save the document as “Merge letter” under “Mass mailing”
1m) Create a list of recipients in a suitable database 2nd save it aS “Recipients”, under “mass
mailing”
Dy erge the letter
©) Save the merged letter as “Information”, under “Mass mailing”
2 Gessn / Nkamwesiga / AfricanaQuestion Four
‘The data in the tables below was extracted fror
m M/S TUKOLE ENGINEERING pay roll
system.
Table 1: PAYROLL.
S/N | EMPLOVEE NAME | BASIC PAY [NSSF | MEDICAL ALLOWANCE [PAYE | GROSS PAY
1 _| Kasa James 450000
2 | Waia Julius 500000 1.
3__ | Urahi Mohammed | 234000 ~ [ f
4__[Webale Moses 600000
|S_| LutwasaKeneth | 650000
6 | Bendi Ben 750000
7__| Nabende Maurice [150000
8 | Janja Yahya 100000
> Mwate James. 350000
10_| Nyamate Maureen 750000,
11_| Zairire Gloria 850000,
12 _| Kizza Kizito 900000
[13 | Kasadha Godfrey | 850000
14 | Mbabazi Maria | 190000
15 | Twebaze Jackline 500000
‘alary Rating
¥ _ _] Tite
Under 200000 CAUSAL WORKER |
Over 200000 but under 500000 SECRETARY
Over 500000 but under 800000 ENGINEERING
‘Above 800000 MANAGER.
Additional information;
“ 2) Enter the above information in a PAYR'
-NSSF is 5% of Basic Salary
-PAYE is 3% of Basic
~ Medical allowance Is 2% of Basie pay
OLL, table using Excel spread sheet as it.
+) Using Fixed/Absolute Cell referencing, compute NSSF, PAYE and Medical
©) Using appropriate Excel formulas, compute; Average Basic and Gro:
vd) Insert a column after Gross Pay and name it NET PAY
Allowance.
SS pay
¢) Compute NET PAY
f) Put the text in first row at an igle of 45 degrees
8) Save your work as “Payroll
‘h) Format all the figures the “,000"
in the same folder you created above
” separator to two decimal places. Also format
With “UGX” symbol , I uySeprows
. ERSITY
+ KYAMBOGO UNIVERSIT
‘ S \
\
\
(1) Using Employee Names, Basic Pay and Gross Pay, draw a chart to represent the
following information;
i) Use cone type
i) Put appropriate titles
k) Fix legend at the bottom
}) Place the chart’as new sheet named, “Salary”
t™) Format chart background with color “Green”
ll) Create a column between Ba:
sic Pay and NSSF and insert the information in Table 2
using “IF” function,KYAMBOGO UNIVERSITY
Faculty of Engineering
UNIVERSITY EXAMINATIONS 2014/2015
BEng CBE, BEng MPE, BEEM, BEAPE, BVTS
M112 /TEEM 1102: INTRODUCTION TO COMPUTER SCIENCE
Date: Wednesday 26" November, 2014 Time: 4.00pm — 7.00pm
Instructions to candidates
* This examination contains Seven questions and has two sections A and B
* Attempt Af least THO (2) questions from each section and not more than THREE (3)
questions from a section,
* Each section should be answered in a separate answer Booklet
© All questions carry equal marks
* Begin each question on a fresh page
‘You should have the following in this Examination
Answer Book, Drawing Instruments, Graphic papers
SECTION A
Question one
) Define the following as applied to computer science? (1mark each)
() acommand @ — afile
b) Mention two (2) Rules of naming a dos files (2marks)
©) Explain the meaning of following statement?
i> Anrib +h +r/s DAM2°B2T.27T (marks)
4) What is the use of the following fips ina computer, (Imarks each)
() System file. (i) Configsys. (ii) Autoexec.Bat,
€) Study the following directory structure and use it to answer the following questions
us
1r4orob
EASTAFRICA
UGANDA
— [x
'
ENG
_ MuK ] -{|_ Mech.txt
KENYA
—_— Landsat
Hlect.cdt
KU
TANZANIA -—-aritdoo
~ [arts
_ econ.doc
uDT
RWANDA — Vrmetdoce
RU
Write down a DOS command statement that can be used to move all files with an extension of three
characters from a directory ENG to a directory RU (@marks)
ii, Write down a DOS command statement that can be used to erase a directory TANZANIAN:
(3marks)
iii, Write down a DOS command statement that can be used to make al! files under EAST AFRICA and
subsequent directories read only and then hide them. (4marks)
Question Two
a) Define the following terms (1mark each)
(word processing (ii), amacro—(fi)_—_Drop Cap
(Qmarks)
b) Mention two word processing packages
€) Differentiate between te following terms as they are used in MS Word environment; (Lmark ench)
@ Cut (ii) copy Gi) move
(@ () MS Word has utility known as “mail merging”, explain the term mail merging. (2marks)
(iy The dean of faculty of engineering would like to send invitation letters to twenty faculty staff
members and the secretary has been advised to use mail merging in order to accomplish thatv
pene a knowledge that you have acquired about mail merge utility, explain
lary needs to go through in order to accomplish the assigned task.
(6marks)
(©) Mr. PAPA wrote an industrial training report book alter his training. Unfortunately he did not know
how to automatically generate a list of tables yet it was a requirement for the book to be complete.
Explain the steps Mr. PAPA would have taken to automatically generate a list of tables.
(4marks)
Question Three
a) Define a formula as applied to spread sheet? (Imark)
1b) Explain the different cell addressing modes giving at least an example of each mode in MS excel?
(6marks)
©) Write short notes explaining the following terms as applied to MS Excel with an illustration;
(Cell Address Gi) Cel Atomicity (iv) Work Book (marks)
4) Study the following tables for KCCA primary school and use it to answer the questions that follow:
Table A: Student
a BY] c]D{]eETF[G]H T |Tv] « c
1| Name ‘Mat | Math | Englis | Eng |SS |SST | Scienc | Sciene | Tota | Averag | Positio
ho | Grad |b Grad |T | Grad |e e 1 |e 2
* e e Grade i
2| James 7 is 67 78
3] Theodolo | 56 ® 8 a
us
4] Pairick | 80 # a A
3] Sulaiman | 52 64 @ 74
6| Frank 76 B 0 30
7| Jenifer | 84 73 75 36
8 | Frias 37 | 90 B |
scheme
75.99 10-74] 65-69 [60-64 135-59 [50-54 [45-09 TO-dd |
D2 C3 C4 CS C6 P7 PB. F9 ]
Write down a correct formula that:
i) Calculates the total mark for Pupils (mark)
ii) Grades the pupils scores in Math (marks)
(Imark)
iii) Calculates the average mark for each pupil‘) Will give positions to pupils. (Hint: the pupil with the highest total mark to take on position number
Question Four
@
(b)
©
d)
©
@
(ky
a
hie (marks)
SECTION B
What is Internet? (Qmarks)
Suggest any three (3) uses of the intemet @ marks)
‘What is a web browser, giving one examples? (2 marks)
Define a search engine giving one examples. (Qmarks)
Explain the following terms
i). Website (2marks)
ii), Web page (2marks)
Who is an Intemet Service Provider? (2 marks)
Give any two Internet Service Providers you know in Uganda. (2 marks)
State any three factors you need to consider when selecting an Internet Service Provider (3 marks)
Question Five
(a) What is computer Network? What are its main objectives? Qmarks)
(©) Every computer network is built using hardware as the major component of the network.
Write short notes on some of the different hardware used in setting a computer network
v
(marks)
(©) What is the difference between simplex and full-duplex transmission? (marks)
(d) Differentiate between LAN and WAN. (marks)
(©) Briefly explain the different types of network topology? (@marks) ws
Question Six
(a) What are the five basic operations performed by any computer system? (marks)
(b) Draw a block diagram (o illustrate the basic organization of computer system and explain the function of
various units . | (Smarks)
(©) What is input device? How does it differ from output device? @marks)
(4) What is cache memory? How is it different from primary memory? Gmarks)
(e) Write short notes on (i) Control Unit (il) System Unit (ii) Mother board (marks)
sti ven
oe iteaion the basic elements of a communication system (Smarts)
(b) i, What is a communication protocol
Briefly explain the functions of a communication protocol (Smarks)
(©) Differentiate between analog and digital transmission of data. (marks)
(4) Deseribe in brief the different communication media. (Smarks)
qccecececccececccecccccece EN Decccecccccececccaxcceccccccecees<KYAMBOGO UNIVERSITY
FACULTY OF ENGINEERING
EM112: Introduction to Computer Science
; igs 4
Assignment One Due: September,201J by 4pm.
Instructions:
* Type each question on one page
‘The headings should be typed with font: Times New Roman and font size: 16
The body text should be typed with font size 13
The footer should be typed with font; Arial and font size 10; the footer should have
student’s names, registration number, phone number and page number.
Print your answers on A4 paper with margins of 1” and hand in the assignment
Question One
AR
Discuss the major Information Technology developments between 1990 and 2000.
Question Two
Write and print short notes ( a page for each ), and mention any four advantages and
any four disadvantages on the following:~
a) Wi-Fi;
b) Smart phones;
c) iPads;
d) Cloud Computing.
Question Three
a) Discuss the similarities and differences between the abacus and iPads;
b) Write short notes, advantages and disadvantages about any three mobile
operating systems for tablets/smart phones.