You are on page 1of 3

Project Proposal

Subject: Network analysis-lab

Submitted to:
Engr. Saima
By:
Mahum Jamil(2k14-ELE-51)
Samavia Abid(2k14-ELE-55)
Fatima Zahra(2k14-ELE-56)
Yusra Muneer(2k13-ELE-204)
Department of Electrical Engineering
NFC Institute of Engineering & Technology, Multan

Instructions to write the assignment


1.
2.
3.
4.
5.

Make sure that assignment shouldnt be copied.


Should be properly typed with correct spelling and grammar.
Try to write in your own language.
Try to attempt all said questions.
Keep the font size for normal text: 12, font name: Times New Roman while font style is
regular.
6. keep the font size for heading text: 12, font name:Times New Roman& font style: Bold.
7. If there is a sub heading then keep its font size 10, while rest is same as above in point 4.
8. All page number should be marked at bottom center properly except front one.
9. Submit your assignment in proper file cover.
10. Try to submit within due date, no assignment shall be considered after due date.
11. The assignment covers 3 sessional marks.
Note: Dont include this instruction page in your assignment as it is just for your knowledge.

Assignment
Class 2K14 Section B
Q.01

Sub: Computer Programming

Last date: 17-08-2015

Write down the difference of following programming errors with examples.

Run time error


Un-detected error
Logic error
Syntax error

Q.02

What is the relationship of CPU speed to the Bus speed..?

Q.03

Write a programme that takes as input the numerators and denominators of two fraction . The programme should
display the numerator and denominator of the fraction that represents the productof the two fractions.

Q.04

What is a function prototype..? When a function execute where should a function prototype and function definition
appear in a source programme..?

Q.05

How does firmware differ from a software program stored on the Hard drive.?

Q.06

For each of the following functions explain its purpose, the type(s) of its output parameters, and the type(s) of its
input parameters. Also indicate if it is user defined of it is from the string library of from the type library..?

Strcpy
isalpha
Strcat
Strncat
Strcmp

islower
Strncpy
Strlen
Scanline

Q.07

What is the primary difference between a structure and an array.? Declare an array of 40 2k9_students, and write
code segment that displays an separate line the name (last name, first name) of all the students in the list.

Q.08

What is an input, output file, explain the file operation in C language.

Q.09

What features of C language encourages the encapsulation of data objects and their operations..?

Q.10

How does the C compiler known whether to look for an included file in the system directory or in the programme
directory..?
*****The End*****

You might also like