Web Systems Technologies Mid Quiz
Web Systems Technologies Mid Quiz
Midterm Quiz 1
Started on Tuesday, 14 March 2023, 9:31 AM
State Finished
Completed on Tuesday, 14 March 2023, 9:34 AM
Time taken 3 mins 26 secs
Marks 10/10
Grade 100 out of 100
Question 1
Correct
Mark 1 out of 1
Flag question
Question text
It is named value pairs that are stored in the browser and they're sent to the web server with
each page request.
Select one:
a.
None of the Choices
b.
Cookies
c.
Session
d.
Functions
Feedback
Your answer is correct.
Question 2
Correct
Mark 1 out of 1
Flag question
Question text
You should avoid using JavaScript reserved words as variable names.
Select one:
a.
True
b.
False
Question 3
Correct
Mark 1 out of 1
Flag question
Question text
What symbol is used as the assignment operator in JavaScript?
Select one:
a.
:
b.
+
c.
None of the choices
Question 4
Correct
Mark 1 out of 1
Flag question
Question text
Which of the following is not an include statement?
Select one:
a.
<?php require 'include/external.php'; ?>
b.
<?php include_all 'include/external.php' ?>
c.
<?php include_once 'include/external.php'; ?>
d.
<?php include 'include/external.php'; ?>
Feedback
Your answer is correct.
Question 5
Correct
Mark 1 out of 1
Flag question
Question text
It is a function in the PHP that converts the string into Upper case.
Select one:
a.
None of the Choices
b.
strtoupper()
c.
array()
d.
date()
Feedback
Your answer is correct.
Question 6
Correct
Mark 1 out of 1
Flag question
Question text
To write a string of text on a Web page, the _________ method is used.
Select one:
a.
None of the choices
b.
document,type()
c.
document.print()
d.
window.print()
Question 7
Correct
Mark 1 out of 1
Flag question
Question text
Which of the following successfully prints a variable named myhobby by adding it to a set of
strings?
Select one:
a.
None of the choices
b.
document.write("I like to +myhobby+ every weekend");
c.
document.write("I like to " +myhobby+ " every weekend");
d.
document.write("I like to myhobby every weekend");
Question 8
Correct
Mark 1 out of 1
Flag question
Question text
Which of the following is a valid use of the window.alert() method?
Select one:
a.
None of the choices
b.
window.alert('This is text");
c.
window.alert("This is text);
d.
win.alt("This is text");
Question 9
Correct
Mark 1 out of 1
Flag question
Question text
What are two of the benefits of using variables?
Select one:
a.
They make the purpose of your code clearer, and they make it harder for noncoders to
understand the script.
b.
They can save you time in writing and updating your scripts, and they can make the purpose of
your code clearer.
c.
None of the choices
d.
They can save you time in writing and updating your scripts, and they make it harder for
noncoders to understand the script.
Question 10
Correct
Mark 1 out of 1
Flag question
Question text
Which of the following indicates that a single line of commentary will follow it within JavaScript
code?
Select one:
a.
<!--
b.
None of the choices
c.
//
d.
/*
Flag question
Question text
PHP and ASP.net are example of Application Server.
Select one:
True
False
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The fastest way to install your AMP Stack is to use either WAMP Server or the MAMP Server.
Select one:
True
False
Question 3
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Web Applications are built with multi-tier architecture.
Select one:
True
False
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Web browser such as IE/Chrome/Safari/Opera is part of the client tier. This renders HTML,
Images and CSS. It also executes client-side codes such as javascripts and plugins.
Select one:
True
False
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Server Stack is composed of server based software that runs together such as HTTP Server,
Application Server and Database Server.
Select one:
True
False
Flag question
Question text
Web Applications are built with multi-tier architecture.
Select one:
True
False
Question 2
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Web browser such as IE/Chrome/Safari/Opera is part of the client tier. This renders HTML,
Images and CSS. It also executes client-side codes such as javascripts and plugins.
Select one:
True
False
Question 3
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The fastest way to install your AMP Stack is to use either WAMP Server or the MAMP Server.
Select one:
True
False
Question 4
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
PHP and ASP.net are example of Application Server.
Select one:
True
False
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Server Stack is composed of server based software that runs together such as HTTP Server,
Application Server and Database Server.
Select one:
True
False
Midterm Quiz 2
Started on Tuesday, 14 March 2023, 10:44 AM
State Finished
Marks 10/10
Question 1
Correct
Mark 1 out of 1
Flag question
Question text
Refers to an array of all objects of a particular type.
Select one:
a.
object properties
b.
c.
object collection
d.
object method
Question 2
Correct
Mark 1 out of 1
Flag question
Question text
Is an object collection for all internal frames in the document.
Select one:
a.
b.
document.plugins
c.
document.form.elements
d.
document.frames
Question 3
Correct
Mark 1 out of 1
Flag question
Question text
Is a property use to display document within the frame.
Select one:
a.
method
b.
document
c.
name
d.
Question 4
Correct
Mark 1 out of 1
Flag question
Question text
Is use to change the color of the web page to blue.
Select one:
a.
document.fgcolor = blue
b.
document.write(color.blue)
c.
window.bgcolor = blue
Question 5
Correct
Mark 1 out of 1
Flag question
Question text
Each object in JavaScript has properties associated with it.
Select one:
a.
True
b.
False
Question 6
Correct
Mark 1 out of 1
Flag question
Question text
In JavaScript, you access object properties through the use of the
Select one:
a.
addition operator
b.
multiplication operator
c.
d.
Question 7
Correct
Mark 2 out of 2
Flag question
Question text
All object collections are supported by all browsers or browser versions.
Select one:
a.
True
b.
False
Question 8
Correct
Mark 2 out of 2
Flag question
Question text
Which of the following is not a JavaScript object?
Select one:
a.
frame
b.
window
c.
d.
link
State Finished
Marks 5.00/5.00
Question 1
Correct
Flag question
Question text
In installing individual components for Windows, you download all components from vendors.
Select one:
True
False
Question 2
Correct
Flag question
Question text
For Linux installation of the individual components, you have to use the Apt-Get which is a GUI
based program installed in Linux.
Select one:
True
False
Question 3
Correct
Flag question
Question text
OSX has Apache and PHP included in its Operating System.
Select one:
True
False
Question 4
Correct
Flag question
Question text
It is a collection of individual data items that are stored in a highly structured way that
represetnts a model of reality.
Select one:
a.
Information
b.
Database
c.
Data
d.
Records
Feedback
Your answer is correct.
Question 5
Correct
Flag question
Question text
A system of tools that package up all three components into a single application so that we can
develop within.
Select one:
a.
Spreadsheets
c.
d.