0% found this document useful (0 votes)
394 views

PROG3116 Programming (.NET) WEEK 1-10 Ewoo

This document contains questions and answers related to HTML tags, CSS, JavaScript, C#, and .NET programming. Some key points covered include: - Common HTML tags like <b>, <a>, <div>, <data>, and their purposes - CSS topics like inline vs global styles and external CSS files - JavaScript concepts like the prototype property, AJAX, and functions - C# topics like data types, classes, and Visual Studio - .NET frameworks and ASP.NET pages The document appears to be questions from a programming course assessment with answers related to web development using HTML, CSS, JavaScript, C#, and .NET. It covers a wide range of basic to intermediate level topics across

Uploaded by

Andrea Nombre
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)
394 views

PROG3116 Programming (.NET) WEEK 1-10 Ewoo

This document contains questions and answers related to HTML tags, CSS, JavaScript, C#, and .NET programming. Some key points covered include: - Common HTML tags like <b>, <a>, <div>, <data>, and their purposes - CSS topics like inline vs global styles and external CSS files - JavaScript concepts like the prototype property, AJAX, and functions - C# topics like data types, classes, and Visual Studio - .NET frameworks and ASP.NET pages The document appears to be questions from a programming course assessment with answers related to web development using HTML, CSS, JavaScript, C#, and .NET. It covers a wide range of basic to intermediate level topics across

Uploaded by

Andrea Nombre
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/ 11

PROG3116 Programming (.

Net Technology)
NC III Part 2
WEEK 2
Describe what <b> tag is for

Answer: Defines bold text

Choose what <a> is for


Answer: Defines a hyperlink

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

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


Answer: False

Choose what <data> is for


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

<head> Defines a header for a document or section


Answer: False

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

 <fieldset> Specifies self-contained content


Answer: False

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

Defines a piece of computer code


Answer: <code>
WEEK 4
If you want to add new properties and methods, you can use this property
Answer: 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
Answer: AJAX

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


Answer: function

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

HTTP 500 message means the server successfully processed the request.

Answer: False

_____________ 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.
Answer: GET Request

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


Answer: True

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

_________ is  a  key-value  data  format  that  is  typically  rendered  in  curly  braces.
Answer: JSON

 If you want to know the number of elements in an array, you can use this property
Answer: length property
WEEK 7 – 9
Written Work 1
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.
Answer: True

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


Answer: True

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

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

_________ is  a  key-value  data  format  that  is  typically  rendered  in  curly  braces.
Answer: JSON

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.
Answer: True

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

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

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


that runs on the .NET Framework.
Answer: False

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.
Answer: False
Defines a piece of computer code
Answer: <code>

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.
Answer: True

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


Answer: function

The  What statement  is  used  to  evaluate  a  boolean  expression  before  executing  a  set 
of statements.
Answer: False

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

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

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


used to develop computer programs for Microsoft Windows.
Answer: True

Choose what <a> is for


Answer: Defines a hyperlink

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

Describe what <b> tag is for

Answer: Defines bold text


Written Work 2
HTTP 200 message means the server successfully processed the request.
Answer: 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
Answer: AJAX

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.
Answer: True

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

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

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

<head> Defines a header for a document or section


Answer: False

_____________ 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.
Answer: GET Request

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.
Answer: 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.
Answer: 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.
Answer: 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
Answer: False

HTTP 500 message means the server successfully processed the request.

Answer: False

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

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

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

 <fieldset> Specifies self-contained content


Answer: False

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


Answer: False

An array is used to store a collection or series of elements. These elements will be of the
same type.
Answer: True

Choose what <data> is for


Answer: Links the given content with a machine-readable translation
WEEK 10: 1st Quarter Exam
external CSS files are files of type  .css  that are  linked to a document using the link tag
Answer: 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
Answer: False

An array is used to store a collection or series of elements. These elements will be of the
same type.
Answer: 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.
Answer: True

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.
Answer: True

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

HTTP 302 Message Means The server can't find the requested page.
Answer: 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.
Answer: True

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


Answer: function

_____________ 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.
Answer: GET Request
Blade is a simple markup syntax for embedding server code (C# or VB) into ASP.NET web
pages.
Answer: False

<head> Defines a header for a document or section


Answer: False

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

HTTP 500 message means the server successfully processed the request.

Answer: False

The  What statement  is  used  to  evaluate  a  boolean  expression  before  executing  a  set 
of statements.
Answer: False

Defines a piece of computer code


Answer: <code>

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


that runs on the .NET Framework.
Answer: False

 <fieldset> Specifies self-contained content


Answer: False

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.
Answer: True

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

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

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

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

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


Answer: True

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

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


Answer: False

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.
Answer: False

Choose what <a> is for


Answer: Defines a hyperlink

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

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

Describe what <b> tag is for

Answer: Defines bold text

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.
Answer: 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.
Answer: 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.
Answer: True

Choose what <data> is for


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

______________ 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
Answer: AJAX

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


used to develop computer programs for Microsoft Windows.
Answer: True

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

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

_________ is  a  key-value  data  format  that  is  typically  rendered  in  curly  braces.
Answer: JSON

You might also like