Advanced Programming Techniques UOG — University of Gujrat 2024
Discussion
Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.
No questions yet — be the first to ask.
Need Paper?
See all →
Need a paper or stuck on a question? Ask here — students reply and you get an email.
Ask about a paper-
ICT 1st sister paper
0 replies Reply → -
BS Islamic Studies, 5th semester, ISL-511 Translation of Holy Quran (3) — Government College University Faisalabad (GCU…
0 replies Reply → -
Civics course code GCCE101
1 reply Reply → -
BS 4the semester2025 civics and community engagement past paper According UOs
0 replies Reply → -
Bs public administration 1st semester mid term past papers
0 replies Reply →
Ad
Paper text
UNIVERSITY OF GUJRAT
MID TERM, FALL 2024
Course Code: CS-303
Course Title: Advanced Programming Techniques
Time Allowed: 90 Minutes / Marks: 25
Roll#:
Short Questions (Marks 2, 2, 2, 2, 2) [Caution: Max 5 Lines Answer]
1) Briefly explain the concept of event driven programming.
2) Explain the concept of properties in C#, (implicit and explicit form).
3) Discuss how Interfaces helps us to limit the access of functionality across different
implementations.
4) Explain the concept of Common Language Runtime in .Net framework.
5) Compare Form.Show() and Form.ShowDialog() methods and purpose.
Problem Statements (Marks 5, 5, 5)
6) Select a class from Project and step-by-step implement following items
a. Add all properties including two properties explicit and rest in implicit way,
b. Override Tostring() function and show appropriate information
c. Implement a Collection using ICollection interface.
d. Add two dummy records and display all record information using Tostring in a
foreach loop.
7) Given the code below, implement the missing code:
public class MySqlDbContext{
private readonly string ConnectionString="????";
public int GetNextUserID()
{ ???? }
public List GetAllUsersNames()
{ ???? }
}
8) Consider the following application form shown in the
figure, your job is to implement save and next buttons
functionality that will update data in memory list, and
also help the user to navigate between records. You can
change the form details to your selected class.