SlideShare a Scribd company logo
1 of 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#.

More Related Content

What's hot

SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSnikshaikh786
 
Cis115 programming logic
Cis115 programming logicCis115 programming logic
Cis115 programming logicCarla Michael
 
Summer Training Project On C++
Summer Training Project On  C++Summer Training Project On  C++
Summer Training Project On C++KAUSHAL KUMAR JHA
 
SE-IT MINI PROJECT SYLLABUS
SE-IT MINI PROJECT SYLLABUSSE-IT MINI PROJECT SYLLABUS
SE-IT MINI PROJECT SYLLABUSnikshaikh786
 
Visual Basic Source Codes for Class 11 HSc Paper 1 Practicals
Visual Basic Source Codes for Class 11 HSc Paper 1 PracticalsVisual Basic Source Codes for Class 11 HSc Paper 1 Practicals
Visual Basic Source Codes for Class 11 HSc Paper 1 PracticalsAditi Bhushan
 
Wilayah persekutuan-scheme
Wilayah persekutuan-schemeWilayah persekutuan-scheme
Wilayah persekutuan-schemeAyuMohamad
 
Web Technology End semester Examination Questions
Web Technology End semester Examination QuestionsWeb Technology End semester Examination Questions
Web Technology End semester Examination QuestionsAnsuman Mahapatra
 
6 Week C++ Language Training In Ambala
6 Week C++ Language Training In Ambala6 Week C++ Language Training In Ambala
6 Week C++ Language Training In AmbalaBatra Computer Centre
 
Anirudha Sanjay Deshpande Online (With Training)
Anirudha Sanjay Deshpande Online (With Training)Anirudha Sanjay Deshpande Online (With Training)
Anirudha Sanjay Deshpande Online (With Training)Anirudha Deshpande
 
Semi Detailed Lesson Plan in Programming Languages
Semi Detailed Lesson Plan in Programming LanguagesSemi Detailed Lesson Plan in Programming Languages
Semi Detailed Lesson Plan in Programming LanguagesManila Central University
 
Dev Concepts: Math Concepts in Programming
Dev Concepts: Math Concepts in ProgrammingDev Concepts: Math Concepts in Programming
Dev Concepts: Math Concepts in ProgrammingSvetlin Nakov
 
C programming introduction
C programming introductionC programming introduction
C programming introductionDucat
 

What's hot (17)

SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUS
 
Mca 104
Mca 104Mca 104
Mca 104
 
Cis115 programming logic
Cis115 programming logicCis115 programming logic
Cis115 programming logic
 
Summer Training Project On C++
Summer Training Project On  C++Summer Training Project On  C++
Summer Training Project On C++
 
SE-IT MINI PROJECT SYLLABUS
SE-IT MINI PROJECT SYLLABUSSE-IT MINI PROJECT SYLLABUS
SE-IT MINI PROJECT SYLLABUS
 
Bca college in bangalore
Bca college in bangaloreBca college in bangalore
Bca college in bangalore
 
Visual Basic Source Codes for Class 11 HSc Paper 1 Practicals
Visual Basic Source Codes for Class 11 HSc Paper 1 PracticalsVisual Basic Source Codes for Class 11 HSc Paper 1 Practicals
Visual Basic Source Codes for Class 11 HSc Paper 1 Practicals
 
Wilayah persekutuan-scheme
Wilayah persekutuan-schemeWilayah persekutuan-scheme
Wilayah persekutuan-scheme
 
Web Technology End semester Examination Questions
Web Technology End semester Examination QuestionsWeb Technology End semester Examination Questions
Web Technology End semester Examination Questions
 
MIRA_MILAD
MIRA_MILADMIRA_MILAD
MIRA_MILAD
 
6 Week C++ Language Training In Ambala
6 Week C++ Language Training In Ambala6 Week C++ Language Training In Ambala
6 Week C++ Language Training In Ambala
 
Lab no 4
Lab no 4Lab no 4
Lab no 4
 
Anirudha Sanjay Deshpande Online (With Training)
Anirudha Sanjay Deshpande Online (With Training)Anirudha Sanjay Deshpande Online (With Training)
Anirudha Sanjay Deshpande Online (With Training)
 
Chapter 1 - Overview of C
Chapter 1 - Overview of CChapter 1 - Overview of C
Chapter 1 - Overview of C
 
Semi Detailed Lesson Plan in Programming Languages
Semi Detailed Lesson Plan in Programming LanguagesSemi Detailed Lesson Plan in Programming Languages
Semi Detailed Lesson Plan in Programming Languages
 
Dev Concepts: Math Concepts in Programming
Dev Concepts: Math Concepts in ProgrammingDev Concepts: Math Concepts in Programming
Dev Concepts: Math Concepts in Programming
 
C programming introduction
C programming introductionC programming introduction
C programming introduction
 

Similar to Network programming-mid

FDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docFDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docjaba kumar
 
Assignment 1 for 2nd sem
Assignment 1 for 2nd semAssignment 1 for 2nd sem
Assignment 1 for 2nd semhome
 
17432 object oriented programming
17432   object oriented programming17432   object oriented programming
17432 object oriented programmingsoni_nits
 
If202 cloud computing important questions
If202 cloud computing important questions If202 cloud computing important questions
If202 cloud computing important questions Sumathi Gnanasekaran
 
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdf
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdfChapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdf
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdfakknit
 
Computer programming laboratory manual for b.tech
Computer programming laboratory manual for b.techComputer programming laboratory manual for b.tech
Computer programming laboratory manual for b.techhellogopinadh
 
A Programming Course Including C And Matlab For Mechanical Engineering Students
A Programming Course Including C  And Matlab For Mechanical Engineering StudentsA Programming Course Including C  And Matlab For Mechanical Engineering Students
A Programming Course Including C And Matlab For Mechanical Engineering StudentsApril Knyff
 
Differences between method overloading and method overriding
Differences between method overloading and method overridingDifferences between method overloading and method overriding
Differences between method overloading and method overridingPinky Anaya
 
Model questions-b.sc .csit-6th-sem
Model questions-b.sc .csit-6th-semModel questions-b.sc .csit-6th-sem
Model questions-b.sc .csit-6th-semNayanBakhadyo
 
computer-systems-servicing-dll.docx
computer-systems-servicing-dll.docxcomputer-systems-servicing-dll.docx
computer-systems-servicing-dll.docxrochelleogatis1
 
C# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net FrameworkC# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net FrameworkDr.Neeraj Kumar Pandey
 
Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 FarhanAhmade
 
Internet Technologies (December - 2018) [IDOL - Old Course]
Internet Technologies (December - 2018) [IDOL - Old Course]Internet Technologies (December - 2018) [IDOL - Old Course]
Internet Technologies (December - 2018) [IDOL - Old Course]Mumbai B.Sc.IT Study
 
358111385 computer-systems-servicing-dll
358111385 computer-systems-servicing-dll358111385 computer-systems-servicing-dll
358111385 computer-systems-servicing-dllPrince Rainier
 

Similar to Network programming-mid (20)

FDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docFDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.doc
 
Assignment 1 for 2nd sem
Assignment 1 for 2nd semAssignment 1 for 2nd sem
Assignment 1 for 2nd sem
 
17432 object oriented programming
17432   object oriented programming17432   object oriented programming
17432 object oriented programming
 
103.docx
103.docx103.docx
103.docx
 
OOP.docx
OOP.docxOOP.docx
OOP.docx
 
If202 cloud computing important questions
If202 cloud computing important questions If202 cloud computing important questions
If202 cloud computing important questions
 
Oop december 2018
Oop december 2018Oop december 2018
Oop december 2018
 
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdf
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdfChapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdf
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdf
 
Computer programming laboratory manual for b.tech
Computer programming laboratory manual for b.techComputer programming laboratory manual for b.tech
Computer programming laboratory manual for b.tech
 
Oop july 2017
Oop july 2017Oop july 2017
Oop july 2017
 
A Programming Course Including C And Matlab For Mechanical Engineering Students
A Programming Course Including C  And Matlab For Mechanical Engineering StudentsA Programming Course Including C  And Matlab For Mechanical Engineering Students
A Programming Course Including C And Matlab For Mechanical Engineering Students
 
Cadcam mid 2 question paper
Cadcam  mid 2 question paperCadcam  mid 2 question paper
Cadcam mid 2 question paper
 
Differences between method overloading and method overriding
Differences between method overloading and method overridingDifferences between method overloading and method overriding
Differences between method overloading and method overriding
 
Model questions-b.sc .csit-6th-sem
Model questions-b.sc .csit-6th-semModel questions-b.sc .csit-6th-sem
Model questions-b.sc .csit-6th-sem
 
computer-systems-servicing-dll.docx
computer-systems-servicing-dll.docxcomputer-systems-servicing-dll.docx
computer-systems-servicing-dll.docx
 
C# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net FrameworkC# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net Framework
 
Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021
 
Internet Technologies (December - 2018) [IDOL - Old Course]
Internet Technologies (December - 2018) [IDOL - Old Course]Internet Technologies (December - 2018) [IDOL - Old Course]
Internet Technologies (December - 2018) [IDOL - Old Course]
 
Java Programming.pdf
Java Programming.pdfJava Programming.pdf
Java Programming.pdf
 
358111385 computer-systems-servicing-dll
358111385 computer-systems-servicing-dll358111385 computer-systems-servicing-dll
358111385 computer-systems-servicing-dll
 

Recently uploaded

The Codex Alimentarius Commission (CAC).
The Codex Alimentarius Commission (CAC).The Codex Alimentarius Commission (CAC).
The Codex Alimentarius Commission (CAC).Ravikumar Vaniya
 
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理hwoudye
 
NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...
NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...
NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...Amil baba
 
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证funaxa
 
LESSON 1 PREPARE AND COOKING MEAT GRADE 10
LESSON 1 PREPARE AND COOKING MEAT GRADE 10LESSON 1 PREPARE AND COOKING MEAT GRADE 10
LESSON 1 PREPARE AND COOKING MEAT GRADE 10manwithoutapfp
 
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...samsungultra782445
 
如何办理新加坡管理大学毕业证成绩单留信学历认证
如何办理新加坡管理大学毕业证成绩单留信学历认证如何办理新加坡管理大学毕业证成绩单留信学历认证
如何办理新加坡管理大学毕业证成绩单留信学历认证zg99vwgda
 
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理hwoudye
 
Food Preservatives Market by Product Type, Distribution Channel, End User 202...
Food Preservatives Market by Product Type, Distribution Channel, End User 202...Food Preservatives Market by Product Type, Distribution Channel, End User 202...
Food Preservatives Market by Product Type, Distribution Channel, End User 202...IMARC Group
 
一比一原版查尔斯特大学毕业证如何办理
一比一原版查尔斯特大学毕业证如何办理一比一原版查尔斯特大学毕业证如何办理
一比一原版查尔斯特大学毕业证如何办理hwoudye
 
CLASSIFICATION AND PROPERTIES OF FATS AND THEIR FUNCTIONS
CLASSIFICATION AND PROPERTIES OF FATS AND THEIR FUNCTIONSCLASSIFICATION AND PROPERTIES OF FATS AND THEIR FUNCTIONS
CLASSIFICATION AND PROPERTIES OF FATS AND THEIR FUNCTIONSDr. TATHAGAT KHOBRAGADE
 
FSSAI.ppt Food safety standards act in RAFN
FSSAI.ppt Food safety standards act in RAFNFSSAI.ppt Food safety standards act in RAFN
FSSAI.ppt Food safety standards act in RAFNLokesh Kothari
 
PRESTAIR MANUFACTURER OF DISPLAY COUNTER
PRESTAIR MANUFACTURER OF DISPLAY COUNTERPRESTAIR MANUFACTURER OF DISPLAY COUNTER
PRESTAIR MANUFACTURER OF DISPLAY COUNTERPRESTAIR SYSTEMS LLP
 
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量funaxa
 
HYDROPONICS cratky method 1234567890qwew
HYDROPONICS  cratky  method 1234567890qwewHYDROPONICS  cratky  method 1234567890qwew
HYDROPONICS cratky method 1234567890qwewRolan Ben Lorono
 
Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)
Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)
Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)Lokesh Kothari
 

Recently uploaded (17)

The Codex Alimentarius Commission (CAC).
The Codex Alimentarius Commission (CAC).The Codex Alimentarius Commission (CAC).
The Codex Alimentarius Commission (CAC).
 
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理
 
NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...
NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...
NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...
 
Jual Obat Aborsi Sorong, Wa : 0822/2310/9953 Apotik Jual Obat Cytotec Di Sorong
Jual Obat Aborsi Sorong, Wa : 0822/2310/9953 Apotik Jual Obat Cytotec Di SorongJual Obat Aborsi Sorong, Wa : 0822/2310/9953 Apotik Jual Obat Cytotec Di Sorong
Jual Obat Aborsi Sorong, Wa : 0822/2310/9953 Apotik Jual Obat Cytotec Di Sorong
 
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证
 
LESSON 1 PREPARE AND COOKING MEAT GRADE 10
LESSON 1 PREPARE AND COOKING MEAT GRADE 10LESSON 1 PREPARE AND COOKING MEAT GRADE 10
LESSON 1 PREPARE AND COOKING MEAT GRADE 10
 
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
 
如何办理新加坡管理大学毕业证成绩单留信学历认证
如何办理新加坡管理大学毕业证成绩单留信学历认证如何办理新加坡管理大学毕业证成绩单留信学历认证
如何办理新加坡管理大学毕业证成绩单留信学历认证
 
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理
 
Food Preservatives Market by Product Type, Distribution Channel, End User 202...
Food Preservatives Market by Product Type, Distribution Channel, End User 202...Food Preservatives Market by Product Type, Distribution Channel, End User 202...
Food Preservatives Market by Product Type, Distribution Channel, End User 202...
 
一比一原版查尔斯特大学毕业证如何办理
一比一原版查尔斯特大学毕业证如何办理一比一原版查尔斯特大学毕业证如何办理
一比一原版查尔斯特大学毕业证如何办理
 
CLASSIFICATION AND PROPERTIES OF FATS AND THEIR FUNCTIONS
CLASSIFICATION AND PROPERTIES OF FATS AND THEIR FUNCTIONSCLASSIFICATION AND PROPERTIES OF FATS AND THEIR FUNCTIONS
CLASSIFICATION AND PROPERTIES OF FATS AND THEIR FUNCTIONS
 
FSSAI.ppt Food safety standards act in RAFN
FSSAI.ppt Food safety standards act in RAFNFSSAI.ppt Food safety standards act in RAFN
FSSAI.ppt Food safety standards act in RAFN
 
PRESTAIR MANUFACTURER OF DISPLAY COUNTER
PRESTAIR MANUFACTURER OF DISPLAY COUNTERPRESTAIR MANUFACTURER OF DISPLAY COUNTER
PRESTAIR MANUFACTURER OF DISPLAY COUNTER
 
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
 
HYDROPONICS cratky method 1234567890qwew
HYDROPONICS  cratky  method 1234567890qwewHYDROPONICS  cratky  method 1234567890qwew
HYDROPONICS cratky method 1234567890qwew
 
Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)
Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)
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#.