What is the scripting language in XAMPP
Cross-Platform
PHP
MySQL
Perl
PHP and Perl
A programmer runs the following program: a=47; b=28; a=20; if (a < 45 or b > 26) { printf(“SUCCESS”); } else { printf(“FAILED”); }
The word “SUCCESS” appears on screen.
Nothing happens.
The word “SUCCESS” gets printed out
The word “FAILED” appears on screen
What file does the web crawler look at?
HTML
CSS
Robots.txt
None of the above
Which one of the following page elements will NOT affect SEO?
Colour of the text and background.
Choice of mark-up attributes.
Speed which the code transfers
The type of browser used.
What files can be accessed across different platforms
PNG, GIF, SNF, TPA
PDF, SNF, GIF, JPG,
GIF, SNF, TLS, PDF
PDF, GIF PNG, JPG
Define Dynamic Website
HTML code
server-side scripting language
Web server
Cookies
How does SSL and Transport Layer work
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
What letter is the database in MAMP
(1st) M
A
(2nd) M
P
How many inputs does a NOT Gate have
2
3
As many as required
1
If the output is on, on an OR gate then what will the input be?
OFF, ON
ON, OFF
OFF, OFF
ON, ON
If two or more inputs on an OR gate are on, what will be the output?
If none of the inputs on an OR gate is turned on, what will be the output?
If no inputs on an AND gate is on, what will be the output?
If all of the inputs on the AND gate are on, what will be the output?
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
How many inputs does a NOT gate have?
If the input in a NOT gate is ON, what will the input be?
OFF
ON
Define HTML?
HTML isn't a programming language but a markup language used to develop website using tag elements.
A programming language that uses tag elements to develop websites.
In HTML5 what is it that W3C has added?
<video> and <audio> tag
<li> and <i> tag
What does the M stand for in MAMP?
MacOS
Macro Asus
What does the A stand for in MAMP?
Apache
Application
What is Apache?
Apache is a HTTP server
A markup language
What is MySQL?
A database management system
HTTP Server
What is PHP?
A coding language for websites
A HTTP server
LAMP THE L?
Linux
lonsdale
WAMP THE W?
Windows
Warwick
Whats the X in XAMPP?
Cross platform
Xanax
First letter of the web stack is?
The Operating System used like Windows, Mac OS, Linux
The HTTP server like Apache
What does the 2nd letter mean in a webstack layer?
The web server which is the HTTP server, Apache
A database like MySQL
What does the 3rd layer on the webstack layer represent?
The database like My SQL or Maria DB
The http server
The forth and fifth layer is?
The scripting language
The server
The compatibility of PDF file?
New browsers can display these word document looking files in their browsers.
Cross platform which means it can be opened on any browsers or mobile device. Word editors can be used for these.
The compatibility of HTML?
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
The compatibility of Image files?
Mpeg; used in older browsers but now the new HTML5 supports videos and can run .mp4 files.
The compatibility of video files?
What does the API stand for?
Application Programming Interface
Application Programming International
What is the application programming interface?
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
What does HTTP stand for?
Hyper Transfer Protocol
Hyper Traport Protocol
What is HTTP?
The s stands for Secure is an extension of the hypertext transfer protocol for secure communication over a computer network. Port number: 443
What is HTTPS?
What does SSL stand for?
Secure Socket Layer
Secure Sonic Layer
What does TLS stand for?
Transport Layer Security
Transport Logic Security
What does the TLS and SSL layer do?
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
Web and Application server
Examples of web and application servers:
Content management systems- Wordpress and Joomla
Content management systems- Linux and Wordlist
What is a relational database?
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.
What is the purpose of a web browser?
Is a browser a web client?
Yes
No
What actions can web applications give you?
Gmail, Facebook, Google analytics
Windows defender, linux anti virus
What do web crawlers do?
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.
Why is it important for web crawlers to visit your website?
It is important for google crawlers to visit your site. As it will put your website onto the google database.
What is Robots.txt?
This is the file that crawlers look at. This file contains information on how to crawl your website.
This is written in code usually in HTML.
What is a static website?
This is written using a server-side scripting language such as PHP, ASP, JSP or ColdFusion
This is written in code usually in HTML
What is a dynamic website?
This is written using a server-side scripting language
The coding language used to create static website with video tags
Examples of dynamic website coding?
PHP, ASP, JSP or ColdFusion
HTML 5, CSS
What is state management?
State management is the process of holding web page information
State management is the process of holding web page numbers
What does a state management use?
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.
What is HTTP stateless protocol?
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.
How many types of states are there?
6
What is a session state?
When an application requests a login. Ends when a user ends the session or logs out
When a browser sends a request for a web page to a web server. Ends when a user closes the browser
What is a application state?
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
What is a persistent state?
What are cookies?
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.
What are the problems with cookies?
-Security Risk. -Performance decrease due to data being sent back and forth between computers.
-Viruses. -Hackers.
HTML5 can allow people to store information on their web browsers, what are the two main storage types?
Session and Local storage
HTML and CSS storage
What is Local Storage?
No limit to how long the data persists and users can save large amounts of persistent data.
Lets users save session state data. It only lasts for the duration of the session.
What is session storage?
What is the similarity of Local and Session storage?
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.
What is AppCache or Application Cache?
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.