SlideShare a Scribd company logo
1 of 7
Answer all questions and discussions.
1.
Describe what is an array? Provide examples and uses of arrays
in VB & C# languages.
2.
Explain how will you to derive New Classes from Base Classes?
Provide examples and uses in VB & C# languages.
3.
Explain local and class scope. Provide examples and uses in VB
& C# languages.
4.
Describe classes, including constructors, methods, data, value,
and reference types.
Provide examples and uses in VB & C# languages.
5.
What is the result of the following code?
1 Dim
y
As Integer
2 Dim
x
As Integer
3 Dim
mysteryValue
As Integer
4
5
x =
1
6
mysteryValue =
0
7
8Do
9
y = x ^
2
10
displayListBox.Items.Add(y)
11
mysteryValue +=
1
12
x +=
1
13 Loop While
x <=
10
14
15
resultLabel.Text = mysteryValue
6.
Find the error(s) in the following code. This is the definition for
a Click event handler for a Button. This event handler should
draw a rectangle on a PictureBox control.
1 Private Sub
drawImageButton_Click(sender
As
System.Object,
2
e
As
System.EventArgs)
Handles
drawImageButton.Click
3
4
' create an orange colored brush
5 Dim
brush
As New
SolidBrush(
Orange
)
6
7
' create a Graphics object to draw on the PictureBox
8 Dim
graphicsObject
As
Graphics = mainPicture.AcquireGraphics()
9
10
' draw a filled rectangle
11
graphicsObject.FillRectangle(brush,
2
,
3
,
40
,
30
)
12 End Sub
' drawImageButton_Click
7.
List and describe with examples the design principles of
Graphical User Interfaces (GUIs).
8.
Compare and Contrast the concepts of Inheritance and
polymorphism in Visual Basic and C#.
Your response should be detailed along with code examples
from both language.
9.
The most difficult part in learning computer programming is
problem solving. Look back at your learned knowledge and
problem solving/programming experiences in this class. Now
describe your thought processes while engaged in problem
solving and computer programming using C#. Provide detailed
examples.
10.
Describe a 2- dimensional array. Provide examples and uses of
arrays in VB & C# languages.
11.
List and describe at least two kinds of control statements?
Provide examples and uses in VB & C# languages.
12.
List and describe real-life applications you can imagine/develop
for your personal needs, at your work or any other practical use.
Provide examples and uses in VB & C# languages.
13.
Describe in details with plenty of examples on what you have
learned while using Visual Basic & Visual C# 2012 Debugger.
Provide examples and uses in VB & C# languages.
14.
Describe in details with several examples about Graphical User
Interfaces and their uses in real-life situations. Provide
examples and uses in VB & C# languages.

More Related Content

Similar to Answer all questions and discussions.1.Describe what is an.docx

Mit4021–%20 c# and .net
Mit4021–%20 c# and .netMit4021–%20 c# and .net
Mit4021–%20 c# and .netsmumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programmingsmumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programmingsmumbahelp
 
Bt0082 visual basic
Bt0082   visual basicBt0082   visual basic
Bt0082 visual basicsmumbahelp
 
Assignment DetailsYou have learned that some markets are compet.docx
Assignment DetailsYou have learned that some markets are compet.docxAssignment DetailsYou have learned that some markets are compet.docx
Assignment DetailsYou have learned that some markets are compet.docxfaithxdunce63732
 
The Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docxThe Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docxjmindy
 
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab 6.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab 6.docxStudent Lab Activity A. Lab # CIS CIS170A-A1B. Lab 6.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab 6.docxemelyvalg9
 
Dot Net Fundamentals
Dot Net FundamentalsDot Net Fundamentals
Dot Net FundamentalsLiquidHub
 
Week 2PRG 218 Variables and Input and Output OperationsYou w.docx
Week 2PRG 218   Variables and Input and Output OperationsYou w.docxWeek 2PRG 218   Variables and Input and Output OperationsYou w.docx
Week 2PRG 218 Variables and Input and Output OperationsYou w.docxmelbruce90096
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in csmumbahelp
 
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docxCOMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docxdonnajames55
 
The First C# Project Analyzed
The First C# Project AnalyzedThe First C# Project Analyzed
The First C# Project AnalyzedPVS-Studio
 

Similar to Answer all questions and discussions.1.Describe what is an.docx (17)

Let's us c language (sabeel Bugti)
Let's us c language (sabeel Bugti)Let's us c language (sabeel Bugti)
Let's us c language (sabeel Bugti)
 
Visual basic
Visual basicVisual basic
Visual basic
 
Mit4021–%20 c# and .net
Mit4021–%20 c# and .netMit4021–%20 c# and .net
Mit4021–%20 c# and .net
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
 
Bt0082 visual basic
Bt0082   visual basicBt0082   visual basic
Bt0082 visual basic
 
Ms vb
Ms vbMs vb
Ms vb
 
Assignment DetailsYou have learned that some markets are compet.docx
Assignment DetailsYou have learned that some markets are compet.docxAssignment DetailsYou have learned that some markets are compet.docx
Assignment DetailsYou have learned that some markets are compet.docx
 
Vb introduction.
Vb introduction.Vb introduction.
Vb introduction.
 
Tutorial csharp
Tutorial csharpTutorial csharp
Tutorial csharp
 
The Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docxThe Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docx
 
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab 6.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab 6.docxStudent Lab Activity A. Lab # CIS CIS170A-A1B. Lab 6.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab 6.docx
 
Dot Net Fundamentals
Dot Net FundamentalsDot Net Fundamentals
Dot Net Fundamentals
 
Week 2PRG 218 Variables and Input and Output OperationsYou w.docx
Week 2PRG 218   Variables and Input and Output OperationsYou w.docxWeek 2PRG 218   Variables and Input and Output OperationsYou w.docx
Week 2PRG 218 Variables and Input and Output OperationsYou w.docx
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
 
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docxCOMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
 
The First C# Project Analyzed
The First C# Project AnalyzedThe First C# Project Analyzed
The First C# Project Analyzed
 

More from lisandrai1k

Appendix A Peer Review Feedback Form 1Reviewer’s Name _Date _.docx
Appendix A Peer Review Feedback Form 1Reviewer’s Name _Date _.docxAppendix A Peer Review Feedback Form 1Reviewer’s Name _Date _.docx
Appendix A Peer Review Feedback Form 1Reviewer’s Name _Date _.docxlisandrai1k
 
Appendix AOperating ScenarioGPSCDU Project for Wild B.docx
Appendix AOperating ScenarioGPSCDU Project for Wild B.docxAppendix AOperating ScenarioGPSCDU Project for Wild B.docx
Appendix AOperating ScenarioGPSCDU Project for Wild B.docxlisandrai1k
 
Appeals ProcessDespite the efforts to submit claims that are.docx
Appeals ProcessDespite the efforts to submit claims that are.docxAppeals ProcessDespite the efforts to submit claims that are.docx
Appeals ProcessDespite the efforts to submit claims that are.docxlisandrai1k
 
Application Assignment 2 Part 2 - Developing an Advocacy Campai.docx
Application Assignment 2 Part 2 - Developing an Advocacy Campai.docxApplication Assignment 2 Part 2 - Developing an Advocacy Campai.docx
Application Assignment 2 Part 2 - Developing an Advocacy Campai.docxlisandrai1k
 
APA writing STYLE & Formatting REQUIRED explanation of how gender mi.docx
APA writing STYLE & Formatting REQUIRED explanation of how gender mi.docxAPA writing STYLE & Formatting REQUIRED explanation of how gender mi.docx
APA writing STYLE & Formatting REQUIRED explanation of how gender mi.docxlisandrai1k
 
APA writing STYLE & Formatting REQUIRED explanation of how gender .docx
APA writing STYLE & Formatting REQUIRED explanation of how gender .docxAPA writing STYLE & Formatting REQUIRED explanation of how gender .docx
APA writing STYLE & Formatting REQUIRED explanation of how gender .docxlisandrai1k
 
APA Style Universal Design for Learning and its relationship to sp.docx
APA Style Universal Design for Learning and its relationship to sp.docxAPA Style Universal Design for Learning and its relationship to sp.docx
APA Style Universal Design for Learning and its relationship to sp.docxlisandrai1k
 
APA nursing essay and APA nursing power point due Wednesday 31721 .docx
APA nursing essay and APA nursing power point due Wednesday 31721 .docxAPA nursing essay and APA nursing power point due Wednesday 31721 .docx
APA nursing essay and APA nursing power point due Wednesday 31721 .docxlisandrai1k
 
APA power point and APA nursing essay due in 40 hours. topics are li.docx
APA power point and APA nursing essay due in 40 hours. topics are li.docxAPA power point and APA nursing essay due in 40 hours. topics are li.docx
APA power point and APA nursing essay due in 40 hours. topics are li.docxlisandrai1k
 
APA formatDue in 1 hourNeed 5 sociological resources a.docx
APA formatDue in 1 hourNeed 5 sociological resources a.docxAPA formatDue in 1 hourNeed 5 sociological resources a.docx
APA formatDue in 1 hourNeed 5 sociological resources a.docxlisandrai1k
 
APA Format4 Citations from Peer Reviewed Journals MinimumIn.docx
APA Format4 Citations from Peer Reviewed Journals MinimumIn.docxAPA Format4 Citations from Peer Reviewed Journals MinimumIn.docx
APA Format4 Citations from Peer Reviewed Journals MinimumIn.docxlisandrai1k
 
APA formatDue in 1 hourNeed 5 sociological resources.docx
APA formatDue in 1 hourNeed 5 sociological resources.docxAPA formatDue in 1 hourNeed 5 sociological resources.docx
APA formatDue in 1 hourNeed 5 sociological resources.docxlisandrai1k
 
APA Format1-Define key terms in epidemiology, community health, an.docx
APA Format1-Define key terms in epidemiology, community health, an.docxAPA Format1-Define key terms in epidemiology, community health, an.docx
APA Format1-Define key terms in epidemiology, community health, an.docxlisandrai1k
 
APA FORMAT4-5 pagesConsider, hypothetically, a small community.docx
APA FORMAT4-5 pagesConsider, hypothetically, a small community.docxAPA FORMAT4-5 pagesConsider, hypothetically, a small community.docx
APA FORMAT4-5 pagesConsider, hypothetically, a small community.docxlisandrai1k
 
apa format. due sunday. 2-3 pages. grammer is correct. introduction .docx
apa format. due sunday. 2-3 pages. grammer is correct. introduction .docxapa format. due sunday. 2-3 pages. grammer is correct. introduction .docx
apa format. due sunday. 2-3 pages. grammer is correct. introduction .docxlisandrai1k
 
APA format, minimum 3 pages +title,referencePlease Answer Follow.docx
APA format, minimum 3 pages +title,referencePlease Answer Follow.docxAPA format, minimum 3 pages +title,referencePlease Answer Follow.docx
APA format, minimum 3 pages +title,referencePlease Answer Follow.docxlisandrai1k
 
APA format, 2 pages, reference page, and cover page. Prompt below, a.docx
APA format, 2 pages, reference page, and cover page. Prompt below, a.docxAPA format, 2 pages, reference page, and cover page. Prompt below, a.docx
APA format, 2 pages, reference page, and cover page. Prompt below, a.docxlisandrai1k
 
APA Format Please keep plagiarism at 22 or less assignment sent.docx
APA Format Please keep plagiarism at 22 or less assignment sent.docxAPA Format Please keep plagiarism at 22 or less assignment sent.docx
APA Format Please keep plagiarism at 22 or less assignment sent.docxlisandrai1k
 
APA format in WordNo minimum word count.9 questions, some are 2 .docx
APA format in WordNo minimum word count.9 questions, some are 2 .docxAPA format in WordNo minimum word count.9 questions, some are 2 .docx
APA format in WordNo minimum word count.9 questions, some are 2 .docxlisandrai1k
 
APA format Due in 4 hours.1. Explain the key characteristics and p.docx
APA format Due in 4 hours.1. Explain the key characteristics and p.docxAPA format Due in 4 hours.1. Explain the key characteristics and p.docx
APA format Due in 4 hours.1. Explain the key characteristics and p.docxlisandrai1k
 

More from lisandrai1k (20)

Appendix A Peer Review Feedback Form 1Reviewer’s Name _Date _.docx
Appendix A Peer Review Feedback Form 1Reviewer’s Name _Date _.docxAppendix A Peer Review Feedback Form 1Reviewer’s Name _Date _.docx
Appendix A Peer Review Feedback Form 1Reviewer’s Name _Date _.docx
 
Appendix AOperating ScenarioGPSCDU Project for Wild B.docx
Appendix AOperating ScenarioGPSCDU Project for Wild B.docxAppendix AOperating ScenarioGPSCDU Project for Wild B.docx
Appendix AOperating ScenarioGPSCDU Project for Wild B.docx
 
Appeals ProcessDespite the efforts to submit claims that are.docx
Appeals ProcessDespite the efforts to submit claims that are.docxAppeals ProcessDespite the efforts to submit claims that are.docx
Appeals ProcessDespite the efforts to submit claims that are.docx
 
Application Assignment 2 Part 2 - Developing an Advocacy Campai.docx
Application Assignment 2 Part 2 - Developing an Advocacy Campai.docxApplication Assignment 2 Part 2 - Developing an Advocacy Campai.docx
Application Assignment 2 Part 2 - Developing an Advocacy Campai.docx
 
APA writing STYLE & Formatting REQUIRED explanation of how gender mi.docx
APA writing STYLE & Formatting REQUIRED explanation of how gender mi.docxAPA writing STYLE & Formatting REQUIRED explanation of how gender mi.docx
APA writing STYLE & Formatting REQUIRED explanation of how gender mi.docx
 
APA writing STYLE & Formatting REQUIRED explanation of how gender .docx
APA writing STYLE & Formatting REQUIRED explanation of how gender .docxAPA writing STYLE & Formatting REQUIRED explanation of how gender .docx
APA writing STYLE & Formatting REQUIRED explanation of how gender .docx
 
APA Style Universal Design for Learning and its relationship to sp.docx
APA Style Universal Design for Learning and its relationship to sp.docxAPA Style Universal Design for Learning and its relationship to sp.docx
APA Style Universal Design for Learning and its relationship to sp.docx
 
APA nursing essay and APA nursing power point due Wednesday 31721 .docx
APA nursing essay and APA nursing power point due Wednesday 31721 .docxAPA nursing essay and APA nursing power point due Wednesday 31721 .docx
APA nursing essay and APA nursing power point due Wednesday 31721 .docx
 
APA power point and APA nursing essay due in 40 hours. topics are li.docx
APA power point and APA nursing essay due in 40 hours. topics are li.docxAPA power point and APA nursing essay due in 40 hours. topics are li.docx
APA power point and APA nursing essay due in 40 hours. topics are li.docx
 
APA formatDue in 1 hourNeed 5 sociological resources a.docx
APA formatDue in 1 hourNeed 5 sociological resources a.docxAPA formatDue in 1 hourNeed 5 sociological resources a.docx
APA formatDue in 1 hourNeed 5 sociological resources a.docx
 
APA Format4 Citations from Peer Reviewed Journals MinimumIn.docx
APA Format4 Citations from Peer Reviewed Journals MinimumIn.docxAPA Format4 Citations from Peer Reviewed Journals MinimumIn.docx
APA Format4 Citations from Peer Reviewed Journals MinimumIn.docx
 
APA formatDue in 1 hourNeed 5 sociological resources.docx
APA formatDue in 1 hourNeed 5 sociological resources.docxAPA formatDue in 1 hourNeed 5 sociological resources.docx
APA formatDue in 1 hourNeed 5 sociological resources.docx
 
APA Format1-Define key terms in epidemiology, community health, an.docx
APA Format1-Define key terms in epidemiology, community health, an.docxAPA Format1-Define key terms in epidemiology, community health, an.docx
APA Format1-Define key terms in epidemiology, community health, an.docx
 
APA FORMAT4-5 pagesConsider, hypothetically, a small community.docx
APA FORMAT4-5 pagesConsider, hypothetically, a small community.docxAPA FORMAT4-5 pagesConsider, hypothetically, a small community.docx
APA FORMAT4-5 pagesConsider, hypothetically, a small community.docx
 
apa format. due sunday. 2-3 pages. grammer is correct. introduction .docx
apa format. due sunday. 2-3 pages. grammer is correct. introduction .docxapa format. due sunday. 2-3 pages. grammer is correct. introduction .docx
apa format. due sunday. 2-3 pages. grammer is correct. introduction .docx
 
APA format, minimum 3 pages +title,referencePlease Answer Follow.docx
APA format, minimum 3 pages +title,referencePlease Answer Follow.docxAPA format, minimum 3 pages +title,referencePlease Answer Follow.docx
APA format, minimum 3 pages +title,referencePlease Answer Follow.docx
 
APA format, 2 pages, reference page, and cover page. Prompt below, a.docx
APA format, 2 pages, reference page, and cover page. Prompt below, a.docxAPA format, 2 pages, reference page, and cover page. Prompt below, a.docx
APA format, 2 pages, reference page, and cover page. Prompt below, a.docx
 
APA Format Please keep plagiarism at 22 or less assignment sent.docx
APA Format Please keep plagiarism at 22 or less assignment sent.docxAPA Format Please keep plagiarism at 22 or less assignment sent.docx
APA Format Please keep plagiarism at 22 or less assignment sent.docx
 
APA format in WordNo minimum word count.9 questions, some are 2 .docx
APA format in WordNo minimum word count.9 questions, some are 2 .docxAPA format in WordNo minimum word count.9 questions, some are 2 .docx
APA format in WordNo minimum word count.9 questions, some are 2 .docx
 
APA format Due in 4 hours.1. Explain the key characteristics and p.docx
APA format Due in 4 hours.1. Explain the key characteristics and p.docxAPA format Due in 4 hours.1. Explain the key characteristics and p.docx
APA format Due in 4 hours.1. Explain the key characteristics and p.docx
 

Recently uploaded

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Answer all questions and discussions.1.Describe what is an.docx

  • 1. Answer all questions and discussions. 1. Describe what is an array? Provide examples and uses of arrays in VB & C# languages. 2. Explain how will you to derive New Classes from Base Classes? Provide examples and uses in VB & C# languages. 3. Explain local and class scope. Provide examples and uses in VB & C# languages. 4. Describe classes, including constructors, methods, data, value, and reference types. Provide examples and uses in VB & C# languages.
  • 2. 5. What is the result of the following code? 1 Dim y As Integer 2 Dim x As Integer 3 Dim mysteryValue As Integer 4 5 x = 1 6 mysteryValue = 0 7 8Do 9
  • 3. y = x ^ 2 10 displayListBox.Items.Add(y) 11 mysteryValue += 1 12 x += 1 13 Loop While x <= 10 14 15 resultLabel.Text = mysteryValue 6. Find the error(s) in the following code. This is the definition for a Click event handler for a Button. This event handler should draw a rectangle on a PictureBox control. 1 Private Sub drawImageButton_Click(sender As
  • 4. System.Object, 2 e As System.EventArgs) Handles drawImageButton.Click 3 4 ' create an orange colored brush 5 Dim brush As New SolidBrush( Orange ) 6 7 ' create a Graphics object to draw on the PictureBox 8 Dim graphicsObject As Graphics = mainPicture.AcquireGraphics() 9 10 ' draw a filled rectangle
  • 5. 11 graphicsObject.FillRectangle(brush, 2 , 3 , 40 , 30 ) 12 End Sub ' drawImageButton_Click 7. List and describe with examples the design principles of Graphical User Interfaces (GUIs). 8. Compare and Contrast the concepts of Inheritance and polymorphism in Visual Basic and C#. Your response should be detailed along with code examples from both language.
  • 6. 9. The most difficult part in learning computer programming is problem solving. Look back at your learned knowledge and problem solving/programming experiences in this class. Now describe your thought processes while engaged in problem solving and computer programming using C#. Provide detailed examples. 10. Describe a 2- dimensional array. Provide examples and uses of arrays in VB & C# languages. 11. List and describe at least two kinds of control statements? Provide examples and uses in VB & C# languages. 12. List and describe real-life applications you can imagine/develop for your personal needs, at your work or any other practical use. Provide examples and uses in VB & C# languages. 13.
  • 7. Describe in details with plenty of examples on what you have learned while using Visual Basic & Visual C# 2012 Debugger. Provide examples and uses in VB & C# languages. 14. Describe in details with several examples about Graphical User Interfaces and their uses in real-life situations. Provide examples and uses in VB & C# languages.