PROG3116 Programming (.NET) WEEK 1-10 Ewoo
PROG3116 Programming (.NET) WEEK 1-10 Ewoo
Net Technology)
NC III Part 2
WEEK 2
Describe what <b> tag is for
nline or local stylesThese are written correctly in the HTML tag and precede other styles.
Answer: nline or local styles
external CSS files are files of type .css that are linked to a document using the link tag
Answer: True
embedded or global styles are written in the document head and refer to the file as a whole.
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
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
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
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
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
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
embedded or global styles are written in the document head and refer to the file as a whole.
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
_____________ 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
An array is used to store a collection or series of elements. These elements will be of the
same type.
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
_____________ 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
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
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
C# programming language has in-built support for classes and objects.
Answer: 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.
Answer: False
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
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
______________ 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
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