Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)
Network programming-mid
1. Muhammad Ibrahim M.Sc Computer Science Qurtuba University Peshawar
QURTUBA UNIVESRSITY OF SCIENCE & INFORMATION TECHNOLOGY
Exam: MID TERM Semester: 4th Spring 2014
Program: MCS (E) Session: Fall-2012
SUBJECT: NETWORK PROGRAMMING MAX MARKS: 20
TOTAL TIME: 2HRS DATE: 04-06-2014
Note: Attempt four questions. Q.1 is compulsory and to be attempted in 20 minutes.
Q1. Give suitable response.
1. Draw the C# family tree.
2. The name of C# compiler is ________.
3. Define network programming?
4. ______ is used for concatenation.
5. Conversion is responsibility of compiler. True/False
Q2. (a) Write the skeleton of C# program.
(b) Write a program that will take your first name and last name from command line, and display
your full name?
Q3. (a) Define Inheritance?
(b) Explain the types of Inheritance with the help of Diagrams?
Q4. Explain difference between instance method and static method with the help of examples.
Q5. Write a network program to find the name of computer using C#.