100% found this document useful (1 vote)
486 views

G11-TVL-ICT Programming (.Net Technology) Capslet Quarter 3-Week 4

ms.net technology week 4

Uploaded by

bronxkie
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
486 views

G11-TVL-ICT Programming (.Net Technology) Capslet Quarter 3-Week 4

ms.net technology week 4

Uploaded by

bronxkie
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

TECHNICAL VOCATIONAL LIVELIH

TVL-ICT-PROGRAMMING
(.NET TECHNOLOGY) NC III
Quarter 3
Week 4

CapSLET
Capsulized
Self - Learning
Empowerment
Toolkit

Schools Division Office of Zamboanga City


Region IX, Zamboanga Peninsula
Zamboanga City
CapSLET
Capsulized Self - Learning Empowerment Toolkit

TVL – ICT-PROGRAMMING
SUBJECT &
GRADE/LEVEL
(.NET TECHNOLOGY) QUARTER 3 WEEK 4
GRADE 11
TOPIC DEVELOP ASP.NET MVC 5 WEB APPLICATIONS (DAMWA)

CODE
LEARNING
COMPETENCY Perform Object-Oriented Programming with C# TLE_ICTP.NET
11-12DAMWA-
Ih-j-IIa-c-36
1. Develop familiarity with C# Programming as a programming language.
2. Specify when to use object-oriented paradigm in the C# programming
LEARNING
OBJECTIVES language.
3. Trace the possible output of program given a program source code in
the .NET environments.
IMPORTANT: Do not write anything on this material. Write your answers on the learner’s activity and
assessment sheets provided separately.

UNDERSTAND
C# Introduction

What is C#?
C# is pronounced "C-Sharp".

It is an object-oriented programming language created by Microsoft that runs on the .NET


Framework.

C# has roots from the C family, and the language is close to other popular languages like C++ and
Java.

The first version was released in year 2002. The latest version, C# 8, was released in September
2019.

C# is used for:

 Mobile applications
 Desktop applications
 Web applications
 Web services
 Web sites
 Games
 VR
 Database applications
 And much, much more!

Why Use C#?

It is one of the most popular programming language in the world


2|Page
It is easy to learn and simple to use
It has a huge community support
C# is an object oriented language which gives a clear structure to programs and allows code to be
reused, lowering development costs.
As C# is close to C, C++ and Java, it makes it easy for programmers to switch to C# or vice versa.

C# IDE

The easiest way to get started with C#, is to use an IDE.

An IDE (Integrated Development Environment) is used to edit and compile code.

In our tutorial, we will use Visual Studio Community, which is free to download from
https://visualstudio.microsoft.com/vs/community/.

Applications written in C# use the .NET Framework, so it makes sense to use Visual Studio, as the
program, the framework, and the language, are all created by Microsoft.

C# Install
Once the Visual Studio Installer is downloaded and installed, choose the .NET workload and click on
the Modify/Install button:

After the installation is complete, click on the Launch button to get started with Visual Studio.

On the start window, choose Create a new project:

3|Page
Then click on the "Install more tools and features" button:

SAQ-1: What operator can be used to compare two values?

SAQ-2 : How do you call a method in C#?

4|Page
Let’s Practice!

(Answer on the Answer Sheet provided for Activity and Assessment.)


Directions: Multiple Choice: Choose the letter of the correct answer from the given choices.

1. What is a correct syntax to output "Hello World" in C#?


a. System.out.println("Hello World");
b. Console.WriteLine("Hello World");
c. cout << "Hello World";
d. print ("Hello World");

2. C# is an alias of C++
a. True
b. False
3. How do you insert COMMENTS in C# code?
a. # This is a comment
b. /* This is a comment
c. // This is a comment

4. Which data type is used to create a variable that should store text?
a. myString
b. Txt
c. string
d. str

5. How do you create a variable with the numeric value 5?


a. num x = 5
b. int x = 5;
c. x = 5;
d. double x = 5;

REMEMBER
Key Points

C# - It is an object-oriented programming language created by Microsoft that runs on the .NET


Framework.

C# (C-Sharp) is a programming language developed by Microsoft that runs on the .NET Framework.

C# is used to develop web apps, desktop apps, mobile apps, games and much more.

TRY
5|Page
Directions: Launch Visual Studio 2010 or 2019 , Choose "Console App (.NET Core)"
from the list and click on the Next button, Enter a name for your project, and click on the
Create button, Visual Studio will automatically generate some code for your project then
type and run the following code, what is the output?

Source: www.w3schools.com” C# Introduction ”


Accessed December 28,2020.
REFERENCES https://www.w3schools.com/cs/cs_getstarted.asp

This learning resource contains copyrighted materials. The use of which has not
been specifically authorized by the copyright owner. We are making this learning
resource in our efforts to provide printed and e-copy learning resources available
for the learners in reference to the learning continuity plan of this division in this
time of pandemic.
DISCLAIMER
This LR is produced and distributed locally without profit and will be used for
educational purposes only. No malicious infringement is intended by the writer.
Credits and respect to the original creator/owner of the materials found in this
learning resource.

Developed by:

JOHNNY JEAN N. TIGAS


TEACHER-III
ZAMBOANGA CITY HIGH SCHOOL
Integrated Senior High School

6|Page
Topic: DEVELOP ASP.NET MVC 5 WEB APPLICATIONS (DAMWA)
Learning Competency: Perform Object-Oriented Programming with C#
ANSWER KEY
SAQ 1. ==

SAQ2. MyMethod();

Let’s Practice
1. B
2. B (False)
3. C
4. C
5. B

TRY

Output:

7|Page
Republic of the Philippines
Department of Education
Division of Zamboanga City

EVALUATION TOOL FOR CONTENT AND LAYOUT & DESIGN


CAPSULIZED SELF-LEARNING EMPOWERMENT TOOLKIT (CapSLET)

Learning Area: __________________________________ Grade Level: ____________


Title: ___________________________________________________________________
Quarter: _________________________________________________________________
Week: ___________________________________________________________________
Learning Competency: _________________________________________________________

Instructions:

1. Read carefully the learning resource (LR) page by page to evaluate the LR for compliance to standards
indicated in the criterion items under each factor below.
2. Put a check mark (/) in the appropriate column beside each criterion item. If your answer is NO, cite
specific page/s, briefly indicate the errors found, and give your recommendations in the attached
Summary of Findings form.
3. Write Not Applicable (NA) for criterion items that does not apply in the LR evaluated.

Note:
This tool is anchored on the Guidelines in ADM Content Evaluation, Guidelines in ADM
Layout Evaluation and Level 2 DepEd Evaluation Rating Sheet for 2 DepEd Evaluation Rating
Sheet for Story Books and Big Books.
.

Summary of Content Findings, Corrections and Review for Locally Developed


CapSLET

Title of the CapSLET: ____________________ Grade Level: ______


Quarter: ___________________________
Week: _____________________________
Part of Brief Specific Put a check mark
the descripti recommend
CapSLE on of ations for
T/ Errors/ improving
Paragra Findings the
ph / Line / identified
/ Page Observa criterion Not
number tions Impleme
Impleme
(in nted
nted
chronolo
gical
order)

8|Page
Legend: (Type of Error) C - Content, L – Language, DL – Design and Layout

Other Findings: Write additional comments and recommendations not captured


in the evaluation tools used.
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________
Prepared by: Date accomplished:
_________________________ _____________________
(Signature Over Printed Name)

9|Page

You might also like