Professional Documents
Culture Documents
,
(first name)
(last name)
Student Number:
Registered Section (if not this section):
Instructor: Peter Cribb
York University
Faculty of Pure and Applied Science
Department of Computer Science
Instructions:
1. This is an in class examination, therefore examination rules are in effect
2. Fill in the box at the top of this page, and print your name at the top of all other pages.
3. Answer ALL questions, in the space provided.
4. Time allowed is 45 minutes.
5. Use of calculators is NOT allowed.
6. There are 7 pages with 5 parts (A to E). Please count the pages and questions.
Question
Value
A.
B.
C.
D.
15
E.
11
Mark
Total:
Part A
Circle the letter of the most correct answer.
1. A local area network typically spans
a. one room
b. one building
c. one city block
d. a large city
e. a., b, or c.
2.
3.
4.
Which layer of the Internet software adds the destination address to a packet?
a. application
b. network
c. transport
d. link
e. browser
5.
The binary code for the most negative integer that can be represented by an 8 bit 2s
complement code is
a. 0111 1111
b. 1111 1111
c. 1000 0000
d. 0000 0000
e. 1000 0001
6.
e. 10100
7.
8.
Question B
1. [2] Write down the decimal value of the 8 bit unsigned integer 0101 1101. Show your
working for full marks.
2. [2] If the ASCII code for the letter m is 01101101 write down the code for the letter
p. Show your working for full marks.
3. [2] This question uses a 16 bit floating point code (s represents the sign bit, E the
exponent, and F the fractional part). Write the binary code for the smallest
positive value:
p or q
Question C
1. [2] In the context of a musical performance what is the software and what is the
hardware ?
Software:
Hardware:
2. [2] What is the name of the type of software that knows where your file exists on
disk?
4. [2] Why is main memory not the primary location for storing data?
Question D
1. [2] What is the difference between clicking on the x icon and the _ icon in the top
right hand corner of an application window such as the Notepad window shown
here? Explain in terms of what happens in the machines memory and storage
system.
2. [2] Given the portion of the file system shown in the following figure write down the
directory path for the file whatIsIt.doc.
Answer:
3. [2] Describe the steps you would take to see the contents of the folder called Three
that is contained in the folder called andAgain shown in the previous figure.
4. [3] Given the figure shown below name all the applications that are currently running.
Answer:
5. [2] Write down the e-mail address you would specify to send mail to the account
john_smith which is on the machine called pluto in the subdomain usydney of
the domain au.
6. [4] You are creating an HTML document called myPets.html which as you can see
from the figure is in the folder Www. You have written in a separate file called
boxer.html about your pet boxer and you wish to include a link to this document in
your myPets.html document. The file boxer.html is in the folder called dogs.
Write down the HTML markup command to do this.
Answer:
Question E
1. [2] In the spreadsheet shown in the figure below which formula will produce the
correct answer if extra columns were added between columns A to C ?
Answer:
2. [3] Which of the following are operators in Excel and which are functions:
Circle the answer:
SUM
function / operator
+
function / operator
*
function / operator
/
function / operator
PRODUCT
function / operator
SIN
function / operator
3. [6] Write down the formulas that would calculate the values asked for on the
spreadsheet shown in the next figure.
a.
b.
With respect to your answer in b. define the data ranges corresponding to each
name you have used.