Question 1
Question
What is the scripting language in XAMPP?
Answer
-
Cross-Platform
-
PHP
-
MySQL
-
Perl
-
PHP and Perl
Question 2
Question
A programmer runs the following program:
a=47;
b=28;
a=20;
if (a < 45 or b > 26)
{
printf(“SUCCESS”);
}
else
{
printf(“FAILED”);
}
Answer
-
The word “SUCCESS” appears on screen.
-
Nothing happens.
-
The word “SUCCESS” gets printed out
-
The word “FAILED” appears on screen
Question 3
Question
3. What file does the web crawler look at?
Answer
-
HTML
-
CSS
-
Robots.txt
-
None of the above
Question 4
Question
Which one of the following page elements will NOT affect SEO?
Answer
-
Colour of the text and background.
-
Choice of mark-up attributes.
-
Speed which the code transfers
-
The type of browser used.
Question 5
Question
What files can be accessed across different platforms
Answer
-
PNG, GIF, SNF, TPA
-
PDF, SNF, GIF, JPG,
-
GIF, SNF, TLS, PDF
-
PDF, GIF PNG, JPG
Question 6
Question
Define Dynamic Website
Question 7
Question
How does SSL and Transport Layer work
Answer
-
The data is encrypted and is sent to a user
-
The data is sent to another user and the data is hidden in a locked file
-
They encrypt the data and give each other the authentication key
Question 8
Question
What letter is the database in MAMP
Question 9
Question
How many inputs does a NOT Gate have
Answer
-
2
-
3
-
As many as required
-
1
Question 10
Question
If the output is on, on an OR gate then what will the input be?
Answer
-
OFF, ON
-
ON, OFF
-
OFF, OFF
-
ON, ON
Question 11
Question
If two or more inputs on an OR gate are on, what will be the output?
Question 12
Question
If none of the inputs on an OR gate is turned on, what will be the output?
Question 13
Question
If no inputs on an AND gate is on, what will be the output?
Question 14
Question
If all of the inputs on the AND gate are on, what will be the output?
Answer
-
ON, ON and must have all of them on to turn on
-
OFF, OFF as it doesn't require any inputs to be turned on
Question 15
Question
How many inputs does a NOT gate have?
Question 16
Question
If the input in a NOT gate is ON, what will the input be?
Question 17
Question 18
Question
In HTML5 what is it that W3C has added?
Answer
-
<video> and <audio> tag
-
<li> and <i> tag
Question 19
Question
What does the M stand for in MAMP?
Question 20
Question
What does the A stand for in MAMP?
Question 21
Answer
-
Apache is a HTTP server
-
A markup language
Question 22
Question 23
Question 24
Question 25
Question 26
Question
Whats the X in XAMPP?
Question 27
Question
First letter of the web stack is?
Answer
-
The Operating System used like Windows, Mac OS, Linux
-
The HTTP server like Apache
Question 28
Question
What does the 2nd letter mean in a webstack layer?
Question 29
Question
What does the 3rd layer on the webstack layer represent?
Question 30
Question
The forth and fifth layer is?
Answer
-
The scripting language
-
The server
Question 31
Question
The compatibility of PDF file?
Question 32
Question
The compatibility of HTML?
Answer
-
Cross platform which means it can be opened on any browser and mobile device. You can edit HTML using a simple word editor like Notepad, Wordpress, Notepad++.
-
(GIF, JPG, PNG) All file formats
Question 33
Question
The compatibility of Image files?
Answer
-
(GIF, JPG, PNG) All file formats
-
Mpeg; used in older browsers but now the new HTML5 supports videos and can run .mp4 files.
Question 34
Question
The compatibility of video files?
Answer
-
Mpeg; used in older browsers but now the new HTML5 supports videos and can run .mp4 files.
-
Cross platform which means it can be opened on any browser and mobile device. You can edit HTML using a simple word editor like Notepad, Wordpress, Notepad++.
Question 35
Question
What does the API stand for?
Question 36
Question
What is the application programming interface?
Answer
-
APIs are the way computers communicate with each other. They can request and deliver information. A software application can call what’s known as an endpoint: an address that corresponds with a specific type of information we provide (endpoints generally unique like phone numbers).
-
This is an application Protocol and allows for distribution and collaborative text. This is the foundation of data communication for the World Wide Web
Question 37
Question
What does HTTP stand for?
Answer
-
Hyper Transfer Protocol
-
Hyper Traport Protocol
Question 38
Answer
-
This is an application Protocol and allows for distribution and collaborative text. This is the foundation of data communication for the World Wide Web
-
The s stands for Secure is an extension of the hypertext transfer protocol for secure communication over a computer network. Port number: 443
Question 39
Answer
-
The s stands for Secure is an extension of the hypertext transfer protocol for secure communication over a computer network. Port number: 443
-
This is an application Protocol and allows for distribution and collaborative text. This is the foundation of data communication for the World Wide Web
Question 40
Question
What does SSL stand for?
Answer
-
Secure Socket Layer
-
Secure Sonic Layer
Question 41
Question
What does TLS stand for?
Answer
-
Transport Layer Security
-
Transport Logic Security
Question 42
Question
What does the TLS and SSL layer do?
Answer
-
The SSL and TLS protocols allows for authentication and communication between two parties. This allows confidentiality and data interity.
-
A web server is for simple plain text HTML files
Application server is when you need to login and do scripting with PHP/Python
Question 43
Question
Web and Application server
Answer
-
A web server is for simple plain text HTML files
Application server is when you need to login and do scripting with PHP/Python
-
This is an application Protocol and allows for distribution and collaborative text. This is the foundation of data communication for the World Wide Web
Question 44
Question
Examples of web and application servers:
Question 45
Question
What is a relational database?
Answer
-
Always have one key field that is unique. Just focus on the unique information.
-
A browser is an application that is used to view websites for example google chrome, Internet Explorer etc. The primary function of a web page is to render HTML; this is the code use to design or ‘mark-up’ web pages.
Question 46
Question
What is the purpose of a web browser?
Answer
-
Always have one key field that is unique. Just focus on the unique information.
-
A browser is an application that is used to view websites for example google chrome, Internet Explorer etc. The primary function of a web page is to render HTML; this is the code use to design or ‘mark-up’ web pages.
Question 47
Question
Is a browser a web client?
Question 48
Question
What actions can web applications give you?
Answer
-
Gmail, Facebook, Google analytics
-
Windows defender, linux anti virus
Question 49
Question
What do web crawlers do?
Answer
-
A web crawler also knows as a Robot, Search Bot, Spider – is a program this is used to find new items on the internet. When a web crawler visits a web page it loads the site’s content onto a database.
-
A browser is an application that is used to view websites for example google chrome, Internet Explorer etc. The primary function of a web page is to render HTML; this is the code use to design or ‘mark-up’ web pages.
Question 50
Question
Why is it important for web crawlers to visit your website?
Answer
-
A web crawler also knows as a Robot, Search Bot, Spider – is a program this is used to find new items on the internet. When a web crawler visits a web page it loads the site’s content onto a database.
-
It is important for google crawlers to visit your site. As it will put your website onto the google database.
Question 51
Question
What is Robots.txt?
Question 52
Question
What is a static website?
Answer
-
This is written using a server-side scripting language such as PHP, ASP, JSP or ColdFusion
-
This is written in code usually in HTML
Question 53
Question
What is a dynamic website?
Question 54
Question
Examples of dynamic website coding?
Question 55
Question
What is state management?
Question 56
Question
What does a state management use?
Answer
-
A URL (uniform resource locator), when entered sends a HTTP request to a Web server for a Web page.
-
A TLS, when entered sends a HTTP request to a Web server for a Web page.
Question 57
Question
What is HTTP stateless protocol?
Answer
-
HTTP is stateless protocol; this means it doesn’t hold its data from session to session.This means when you close a browser data isn’t saved.
-
A URL (uniform resource locator), when entered sends a HTTP request to a Web server for a Web page.
Question 58
Question
How many types of states are there?
Question 59
Question
What is a session state?
Question 60
Question
What is a application state?
Answer
-
When a browser sends a request for a web page to a web server.
Ends when a user closes the browser
-
Data remains for use by an application after a session ends.
Allows an app to continue its state when a user returns to a site
Question 61
Question
What is a persistent state?
Answer
-
Data remains for use by an application after a session ends.
Allows an app to continue its state when a user returns to a site
-
When an application requests a login.
Ends when a user ends the session or logs out
Question 62
Question
What are cookies?
Answer
-
Developers can use cookies to retain data from session to session. These are small files that can save information about users and this is saved on a user’s computer.
-
A URL (uniform resource locator), when entered sends a HTTP request to a Web server for a Web page.
Question 63
Question
What are the problems with cookies?
Question 64
Question
HTML5 can allow people to store information on their web browsers, what are the two main storage types?
Question 65
Question
What is Local Storage?
Question 66
Question
What is session storage?
Question 67
Question
What is the similarity of Local and Session storage?
Answer
-
Both methods allow users to store large amounts data without it slowing down a connection because data is transferred when it is requested.
-
Browsers send cookies back to web servers, and this is used to identify and customize their experience. Cookies can slow down your app performance.
Question 68
Question
What is AppCache or Application Cache?
Answer
-
AppCache can store resources, such as HTML, CSS and JavaScript files. This is stored locally to a user’s machine. Developers can dictate which type of information is stored locally in the cache manifest file.
-
Developers can use cookies to retain data from session to session. These are small files that can save information about users and this is saved on a user’s computer.