0% found this document useful (0 votes)
18 views16 pages

PROG3115-NET Week 5-19 Grade 12

The document outlines various programming concepts related to HTML5, CSS, JavaScript, and JSON, including definitions of tags, styles, and data formats. It includes learning activities, performance tasks, and exam questions that reinforce understanding of web development principles. The content is structured by weeks, covering topics such as AJAX, variable declarations, and the use of integrated development environments.

Uploaded by

John Rey Enico
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views16 pages

PROG3115-NET Week 5-19 Grade 12

The document outlines various programming concepts related to HTML5, CSS, JavaScript, and JSON, including definitions of tags, styles, and data formats. It includes learning activities, performance tasks, and exam questions that reinforce understanding of web development principles. The content is structured by weeks, covering topics such as AJAX, variable declarations, and the use of integrated development environments.

Uploaded by

John Rey Enico
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

SOURCE BAED-PROG3115-2016S Programming

(.NET TECH) P1
By: Mike Danielle Adaure

Week 5-7 HTML5


Learning Activity 1
<fieldset> Specifies self-contained content
A: False
embedded or global styles are written in the document head and refer to the
file as a whole.
A: True
<div> Defines a container for an external (non-HTML) application
A: False
Choose what <data> is for
A: Links the given content with a machine-readable translation
<head> Defines a header for a document or section
A: False
Defines a piece of computer code
A: <code>
Choose what <a> is for
A: Defines a hyperlink

nline or local stylesThese are written correctly in the HTML tag and precede
other styles.
A: nline or local styles

external CSS files are files of type .css that are linked to a document using the
link tag
A: True
Describe what <b> tag is for
A: Defines bold text
embedded or global styles are written in the document head and refer to the file
as a whole.
A: True
Describe what <b> tag is for
A: Defines bold text

external CSS files are files of type .css that are linked to a document using the
link tag
A: True
<div> Defines a container for an external (non-HTML) application
A: False
Choose what <a> is for
A: Defines a hyperlink
<head> Defines a header for a document or section
A: False
Defines a piece of computer code
A: <code>
<div> Defines a container for an external (non-HTML) application
A: False
Choose what <data> is for
A: Links the given content with a machine-readable translation
<fieldset> Specifies self-contained content
A: False
nline or local stylesThese are written correctly in the HTML tag and precede
other styles.
A: nline or local styles
Laboratory Activity 1
1. using css, create a page with blue background

Do it with your own!!!


Link: https://www.youtube.com/watch?v=33IinMVJf-M

2. using css, create a page containing a 100px X 100px box with four 10px
solid black border
Link: https://www.youtube.com/watch?v=pRMlJn06hu4

WEEK 8-9
Performance Task 1
JavaScript is used mainly or enhancing the interaction of a user with the
webpage
A: True
You can assign a value to the variable while declaring the variable but not after
declaring the variable
A: False
Variable names should start with a letter and they are case sensitive.
A: True
Loops are useful when you have to execute the same lines of code repeatedly.
A: True
is responsible for running JavaScript.
A: browser
are used to store values or expressions
A: Variables
Type of JavaScript Array method if you want to know the number of elements in
an array
Answer: length property
Type of JavaScript Array method if you want to add new properties and method
Answer: prototype property
Type of JavaScript Array method that you can add value as the last item of the
array
Answer: push method
is a key-value data format that is typically rendered in curly braces.
Answer: JSON object
Variable
are used to store values or expressions
A: Variables
Written Work 2
What does JSON stands for?
A: JavaScript Object Notation
JSON offers a good alternative to XML and requires much formatting
A: False
JSON is available for use by many languages including Python, PHP, Java
Ruby
and Answer .
Answer: Ruby
Each key-value pair is separated by a colon.
A: False
JSON object is a key-value data format that is typically rendered in curly braces.
A: True
right
JSON values are found to the Answer of the colon.
A: right
JSON uses the .json extension when it stands alone.
A: True
is a format of sharing data.
Answer: JSON
Keys need to be unique and can include whitespaces, so it’s best to use
A: underscores
square b
JavaScript uses on either end of its array type.
Answer: square brackets
Performance Task 2
AJAX stands for?
A: Asynchronous JavaScript And XML
just a means of loading data from the server and selectively updating parts of a
webpage without reloading the whole page.
A: Ajax
XHR stands for?
A: XMLHttpRequest
All modern browsers support the XHR object.
A: True
Execution of the script continues as soon as the Ajax request is sent.
A: True
Ajax make use of the browser’s built-in XHR object to send and receive
asynchr
information to and from a web server Answer
Answer: asynchronously
open() m
typically accepts two parameters.
Answer: open() method
The two parameters are the URL request method to use and the HTTP to send
the request to.
A: False
Send the request to the server using the send() method of the XHR object
A: True
When sending request and retrieving the response, the first thing to do is
instantia
to Answer an XHR object.
A: instantiate (no correct answer)

1st Quarter Exam


A virtual path is shorthand to represent physical paths. If you use virtual paths,
you can move your pages to a different domain (or server) without having
toupdate the paths.

A: True

_________ is a key-value data format that is typically rendered in curly


braces.

A: JSON
nline or local stylesThese are written correctly in the HTML tag and precede
other styles.

A: nline or local styles

embedded or global styles are written in the document head and refer to the file
as a whole.
A: True

Choose what <a> is for

A: Defines a hyperlink

An array is an object that can store a collection of items.

A: True

A String data type is used to work with String values. In C#, the datatype is
denoted by the keyword 'String'.

The correct answer is 'True'.

_____________ is typically used to get or retrieve some kind of information from


the server that doesn't require any manipulation or change in database, for
example, fetching search results based on a term, fetching user details based
on their id or name, and so on.

A: GET Request

An Integer data types are used to work with numbers. In this case, the numbers
are whole numbers like 10, 20 or 30.

A: True

Defines a piece of computer code

A: <code>

The switch statement is an enhancement to the 'for' statement. If you


have multiple expressions that need to be evaluated in one shot,
then writing multiple 'if' statements becomes an issue.

The correct answer is 'False'.

If you want to add new properties and methods, you can use this property

A: prototype property

Microsoft Visual Studio is an integrated development environment (IDE) from


Microsoft. It is used to develop computer programs for Microsoft Windows.

A: True

A boolean data type is used to work with Boolean values of true and false. In C#,
the datatype is denoted by the Boolean keyword.
A: True

Choose what <data> is for

A: Links the given content with a machine-readable translation

HTTP 302 Message Means The server can't find the requested page.

A: False

A _________ is a block of code which will be executed only if it is called.

A: Function

When this access specifier is attached to either a property or a method, it


means that those members cannot be accessed from any external program

The correct answer is 'False'.

When this access modifier is attached to either a property or a method, it means


that those members can be accessed only by classes inherited from the
current class.

A: TRUE

The Visual Studio IDE can only be used to create a Web-application.

A: False

<head> Defines a header for a document or section

A: False

When this access modifier is attached to either a property or a method, it means


that those members can be accessed from any external program.

A: True

______________ make use of the browser's built-in XMLHttpRequest (XHR) object


to send and receive information to and from a web server asynchronously, in the
background, without blocking the page or interfering with the user's experience

A: AJAX

The while loop is used for iterative purposes. Suppose if you want to repeat a
certain set of statements for a particular number of times, then while loop is
used.

A: True
Destructors are used to initializing the values of class fields when their
corresponding objects are created.

A: false

Content block (from another file) can be imported anywhere in a web


page, and can contain text, markup, and code, just like any regular web page.

A: True

An array is used to store a collection or series of elements. These elements will


be of the same type.

The correct answer is 'True'.

<fieldset> Specifies self-contained content

A: false

<div> Defines a container for an external (non-HTML) application

A: False

This variable will point to an array or list of elements, which will be responsible
for storing the elements of the array.

The correct answer is 'True'

A double data type is used to work with decimals. In this case, the numbers are
whole numbers like 10.11, 20.22 or 30.33.

A: True

Blade is a simple markup syntax for embedding server code (C# or VB) into
ASP.NET web pages.

A: False

If you want to know the number of elements in an array, you can use this
property
A: length property

HTTP 500 message means the server successfully processed the request.

A: false

C++ is a general purpose, multi-paradigm programming language developed by


Microsoft that runs on the .NET Framework.
The correct answer is 'False'.

HTTP 200 message means the server successfully processed the request.

A: True

C# programming language has in-built support for classes and objects.

A: True

external CSS files are files of type .css that are linked to a document using the
link tag

A: True

Describe what <b> tag is for

A: Defines bold text

The What statement is used to evaluate a boolean expression before


executing a set of statements.

A: false

WEEK 11- 13
If you want to add new properties and methods, you can use this property
A: prototype property
An array is an object that can store a collection of items.
A: True
HTTP 302 Message Means The server can't find the requested page.
A: False
______________ make use of the browser's built-in XMLHttpRequest (XHR) object
to send and receive information to and from a web server asynchronously, in the
background, without blocking the page or interfering with the user's experience
A: AJAX
A _________ is a block of code which will be executed only if it is called.
A: function
_________ is a key-value data format that is typically rendered in curly
braces.
A: JSON
HTTP 500 message means the server successfully processed the request.
A: False
HTTP 200 message means the server successfully processed the request.
A: True
_____________ is typically used to get or retrieve some kind of information from
the server that doesn't require any manipulation or change in database, for
example, fetching search results based on a term, fetching user details based
on their id or name, and so on.
A: GET Request
If you want to know the number of elements in an array, you can use this
property
A: length property
_____________ is typically used to get or retrieve some kind of information from
the server that doesn't require any manipulation or change in database, for
example, fetching search results based on a term, fetching user details based
on their id or name, and so on.
A: GET Request

HTTP 302 Message Means The server can't find the requested page.

A: False

_________ is a key-value data format that is typically rendered in curly


braces.

A: JSON
An array is an object that can store a collection of items.
A: True
If you want to add new properties and methods, you can use this property
A: prototype property
______________ make use of the browser's built-in XMLHttpRequest (XHR) object
to send and receive information to and from a web server asynchronously, in the
background, without blocking the page or interfering with the user's experience
The correct answer is: AJAX

HTTP 200 message means the server successfully processed the request.
A: True
If you want to know the number of elements in an array, you can use this
property
A: length property
HTTP 500 message means the server successfully processed the request.
A: False
A _________ is a block of code which will be executed only if it is called.
A: function

WEEK 14 – 16
If you want to know the number of elements in an array, you can use this
property
A: length property
Defines a piece of computer code
A: <code>
An Integer data types are used to work with numbers. In this case, the numbers
are whole numbers like 10, 20 or 30.
A: True
Microsoft Visual Studio is an integrated development environment (IDE) from
Microsoft. It is used to develop computer programs for Microsoft Windows.
A: True
A double data type is used to work with decimals. In this case, the numbers are
whole numbers like 10.11, 20.22 or 30.33.
A: True
nline or local stylesThese are written correctly in the HTML tag and precede
other styles.
A: nline or local styles
The What statement is used to evaluate a boolean expression before
executing a set of statements.
A: False
If you want to add new properties and methods, you can use this property
A: prototype property
C++ is a general purpose, multi-paradigm programming language developed by
Microsoft that runs on the .NET Framework.
A: False
embedded or global styles are written in the document head and refer to the file
as a whole.
A: True
The switch statement is an enhancement to the 'for' statement. If you
have multiple expressions that need to be evaluated in one shot,
then writing multiple 'if' statements becomes an issue.
A: False
_________ is a key-value data format that is typically rendered in curly
braces.
A: JSON
A String data type is used to work with String values. In C#, the datatype is
denoted by the keyword 'String'.
A: True
A boolean data type is used to work with Boolean values of true and false. In C#,
the datatype is denoted by the Boolean keyword.
A: True
The while loop is used for iterative purposes. Suppose if you want to repeat a
certain set of statements for a particular number of times, then while loop is
used.
A: True
A _________ is a block of code which will be executed only if it is called.
A: function
An array is an object that can store a collection of items.
A: True
Choose what <a> is for
A: Defines a hyperlink
The Visual Studio IDE can only be used to create a Web-application.
A: False

Describe what <b> tag is for


A: Defines bold text

WEEK 17 - 19
Content block (from another file) can be imported anywhere in a web
page, and can contain text, markup, and code, just like any regular web page.
The correct answer is 'True'.

When this access modifier is attached to either a property or a method, it means


that those members can be accessed only by classes inherited from the
current class.

The correct answer is 'True'.

_____________ is typically used to get or retrieve some kind of information from


the server that doesn't require any manipulation or change in database, for
example, fetching search results based on a term, fetching user details based
on their id or name, and so on.

The correct answer is: GET Request

HTTP 302 Message Means The server can't find the requested page.

The correct answer is 'False'.

<head> Defines a header for a document or section

The correct answer is 'False'.

Choose what <data> is for

The correct answer is: Links the given content with a machine-readable
translation

external CSS files are files of type .css that are linked to a document using the
link tag

The correct answer is 'True'.

______________ make use of the browser's built-in XMLHttpRequest (XHR) object


to send and receive information to and from a web server asynchronously, in the
background, without blocking the page or interfering with the user's experience

The correct answer is: AJAX

<div> Defines a container for an external (non-HTML) application

The correct answer is 'False'.

<fieldset> Specifies self-contained content

The correct answer is 'False'.

When this access specifier is attached to either a property or a method, it


means that those members cannot be accessed from any external program
The correct answer is 'False'.

An array is used to store a collection or series of elements. These elements will


be of the same type.

The correct answer is 'True'.

HTTP 500 message means the server successfully processed the request.

The correct answer is 'False'.

HTTP 200 message means the server successfully processed the request.

The correct answer is 'True'.

C# programming language has in-built support for classes and objects.

The correct answer is 'True'.

Blade is a simple markup syntax for embedding server code (C# or VB) into
ASP.NET web pages.

The correct answer is 'False'.

Destructors are used to initializing the values of class fields when their
corresponding objects are created.

The correct answer is 'False'.

A virtual path is shorthand to represent physical paths. If you use virtual paths,
you can move your pages to a different domain (or server) without having
toupdate the paths.

The correct answer is 'True'.

When this access modifier is attached to either a property or a method, it means


that those members can be accessed from any external program.

The correct answer is 'True'.

This variable will point to an array or list of elements, which will be responsible
for storing the elements of the array.

The correct answer is 'True'.

external CSS files are files of type .css that are linked to a document using the
link tag

A: True

When this access modifier is attached to either a property or a method, it means


that those members can be accessed only by classes inherited from the
current class.
A: True

HTTP 500 message means the server successfully processed the request.

A: False

<fieldset> Specifies self-contained content

A: False

Blade is a simple markup syntax for embedding server code (C# or VB) into
ASP.NET web pages.

A: False

Destructors are used to initializing the values of class fields when their
corresponding objects are created.

A: False

<div> Defines a container for an external (non-HTML) application

A: False

______________ make use of the browser's built-in XMLHttpRequest (XHR) object


to send and receive information to and from a web server asynchronously, in the
background, without blocking the page or interfering with the user's experience

A: AJAX

An array is used to store a collection or series of elements. These elements will


be of the same type.

A: True

When this access specifier is attached to either a property or a method, it


means that those members cannot be accessed from any external program

A: False

C# programming language has in-built support for classes and objects.

A: True

HTTP 302 Message Means The server can't find the requested page.

A: False

When this access modifier is attached to either a property or a method, it means


that those members can be accessed from any external program.

A: True
HTTP 200 message means the server successfully processed the request.

A: True

Content block (from another file) can be imported anywhere in a web


page, and can contain text, markup, and code, just like any regular web page.

A: True

<head> Defines a header for a document or section

A: False

Choose what <data> is for

A: Links the given content with a machine-readable translation

A virtual path is shorthand to represent physical paths. If you use virtual paths,
you can move your pages to a different domain (or server) without having
toupdate the paths.

A: True

This variable will point to an array or list of elements, which will be responsible
for storing the elements of the array.

A: True

_____________ is typically used to get or retrieve some kind of information from


the server that doesn't require any manipulation or change in database, for
example, fetching search results based on a term, fetching user details based
on their id or name, and so on.

A: GET Request

You might also like