Quiz
BCS Principles Of Coding
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (68)
1What is the scripting language in XAMPP
- ACross-Platform
- BPHP
- CMySQL
- DPerl
- EPHP and Perl
2A programmer runs the following program:
a=47;
b=28;
a=20;
if (a < 45 or b > 26)
{
printf(“SUCCESS”);
}
else
{
printf(“FAILED”);
}- AThe word “SUCCESS” appears on screen.
- BNothing happens.
- CThe word “SUCCESS” gets printed out
- DThe word “FAILED” appears on screen
3What file does the web crawler look at?
- AHTML
- BCSS
- CRobots.txt
- DNone of the above
4Which one of the following page elements will NOT affect SEO?
- AColour of the text and background.
- BChoice of mark-up attributes.
- CSpeed which the code transfers
- DThe type of browser used.
5What files can be accessed across different platforms
- APNG, GIF, SNF, TPA
- BPDF, SNF, GIF, JPG,
- CGIF, SNF, TLS, PDF
- DPDF, GIF PNG, JPG
6Define Dynamic Website
- AHTML code
- Bserver-side scripting language
- CWeb server
- DCookies
7How does SSL and Transport Layer work
- AThe data is encrypted and is sent to a user
- BThe data is sent to another user and the data is hidden in a locked file
- CThey encrypt the data and give each other the authentication key
8What letter is the database in MAMP
- A(1st) M
- BA
- C(2nd) M
- DP
9How many inputs does a NOT Gate have
- A2
- B3
- CAs many as required
- D1
10If the output is on, on an OR gate then what will the input be?
- AOFF, ON
- BON, OFF
- COFF, OFF
- DON, ON
11If two or more inputs on an OR gate are on, what will be the output?
- AON, ON
- BOFF, OFF
12If none of the inputs on an OR gate is turned on, what will be the output?
- AOFF, OFF
- BON, ON
13If no inputs on an AND gate is on, what will be the output?
- AOFF, OFF
- BON, ON
14If all of the inputs on the AND gate are on, what will be the output?
- AON, ON and must have all of them on to turn on
- BOFF, OFF as it doesn't require any inputs to be turned on
15How many inputs does a NOT gate have?
- A1
- B2
16If the input in a NOT gate is ON, what will the input be?
- AOFF
- BON
17Define HTML?
- AHTML isn't a programming language but a markup language used to develop website using tag elements.
- BA programming language that uses tag elements to develop websites.
18In HTML5 what is it that W3C has added?
- A<video> and <audio> tag
- B<li> and <i> tag
19What does the M stand for in MAMP?
- AMacOS
- BMacro Asus
20What does the A stand for in MAMP?
- AApache
- BApplication
21What is Apache?
- AApache is a HTTP server
- BA markup language
22What is MySQL?
- AA database management system
- BHTTP Server
23What is PHP?
- AA coding language for websites
- BA HTTP server
24LAMP THE L?
- ALinux
- Blonsdale
25WAMP THE W?
- AWindows
- BWarwick
26Whats the X in XAMPP?
- ACross platform
- BXanax
27First letter of the web stack is?
- AThe Operating System used like Windows, Mac OS, Linux
- BThe HTTP server like Apache
28What does the 2nd letter mean in a webstack layer?
- AThe web server which is the HTTP server, Apache
- BA database like MySQL
29What does the 3rd layer on the webstack layer represent?
- AThe database like My SQL or Maria DB
- BThe http server
30The forth and fifth layer is?
- AThe scripting language
- BThe server
31The compatibility of PDF file?
- ANew browsers can display these word document looking files in their browsers.
- BCross platform which means it can be opened on any browsers or mobile device. Word editors can be used for these.
32The compatibility of HTML?
- ACross 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++.
- B(GIF, JPG, PNG) All file formats
33The compatibility of Image files?
- A(GIF, JPG, PNG) All file formats
- BMpeg; used in older browsers but now the new HTML5 supports videos and can run .mp4 files.
34The compatibility of video files?
- AMpeg; used in older browsers but now the new HTML5 supports videos and can run .mp4 files.
- BCross 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++.
35What does the API stand for?
- AApplication Programming Interface
- BApplication Programming International
36What is the application programming interface?
- AAPIs 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).
- BThis is an application Protocol and allows for distribution and collaborative text. This is the foundation of data communication for the World Wide Web
37What does HTTP stand for?
- AHyper Transfer Protocol
- BHyper Traport Protocol
38What is HTTP?
- AThis is an application Protocol and allows for distribution and collaborative text. This is the foundation of data communication for the World Wide Web
- BThe s stands for Secure is an extension of the hypertext transfer protocol for secure communication over a computer network. Port number: 443
39What is HTTPS?
- AThe s stands for Secure is an extension of the hypertext transfer protocol for secure communication over a computer network. Port number: 443
- BThis is an application Protocol and allows for distribution and collaborative text. This is the foundation of data communication for the World Wide Web
40What does SSL stand for?
- ASecure Socket Layer
- BSecure Sonic Layer
41What does TLS stand for?
- ATransport Layer Security
- BTransport Logic Security
42What does the TLS and SSL layer do?
- AThe SSL and TLS protocols allows for authentication and communication between two parties. This allows confidentiality and data interity.
- BA web server is for simple plain text HTML files
Application server is when you need to login and do scripting with PHP/Python
43Web and Application server
- AA web server is for simple plain text HTML files
Application server is when you need to login and do scripting with PHP/Python - BThis is an application Protocol and allows for distribution and collaborative text. This is the foundation of data communication for the World Wide Web
- AA web server is for simple plain text HTML files
44Examples of web and application servers:
- AContent management systems- Wordpress and Joomla
- BContent management systems- Linux and Wordlist
45What is a relational database?
- AAlways have one key field that is unique. Just focus on the unique information.
- BA 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.
46What is the purpose of a web browser?
- AAlways have one key field that is unique. Just focus on the unique information.
- BA 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.
47Is a browser a web client?
- AYes
- BNo
48What actions can web applications give you?
- AGmail, Facebook, Google analytics
- BWindows defender, linux anti virus
49What do web crawlers do?
- AA 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.
- BA 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.
50Why is it important for web crawlers to visit your website?
- AA 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.
- BIt is important for google crawlers to visit your site. As it will put your website onto the google database.
51What is Robots.txt?
- AThis is the file that crawlers look at. This file contains information on how to crawl your website.
- BThis is written in code usually in HTML.
52What is a static website?
- AThis is written using a server-side scripting language such as PHP, ASP, JSP or ColdFusion
- BThis is written in code usually in HTML
53What is a dynamic website?
- AThis is written using a server-side scripting language
- BThe coding language used to create static website with video tags
54Examples of dynamic website coding?
- APHP, ASP, JSP or ColdFusion
- BHTML 5, CSS
55What is state management?
- AState management is the process of holding web page information
- BState management is the process of holding web page numbers
56What does a state management use?
- AA URL (uniform resource locator), when entered sends a HTTP request to a Web server for a Web page.
- BA TLS, when entered sends a HTTP request to a Web server for a Web page.
57What is HTTP stateless protocol?
- AHTTP 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.
- BA URL (uniform resource locator), when entered sends a HTTP request to a Web server for a Web page.
58How many types of states are there?
- A3
- B6
59What is a session state?
- AWhen an application requests a login.
Ends when a user ends the session or logs out - BWhen a browser sends a request for a web page to a web server.
Ends when a user closes the browser
- AWhen an application requests a login.
60What is a application state?
- AWhen a browser sends a request for a web page to a web server.
Ends when a user closes the browser - BData remains for use by an application after a session ends.
Allows an app to continue its state when a user returns to a site
- AWhen a browser sends a request for a web page to a web server.
61What is a persistent state?
- AData remains for use by an application after a session ends.
Allows an app to continue its state when a user returns to a site - BWhen an application requests a login.
Ends when a user ends the session or logs out
- AData remains for use by an application after a session ends.
62What are cookies?
- ADevelopers 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.
- BA URL (uniform resource locator), when entered sends a HTTP request to a Web server for a Web page.
63What are the problems with cookies?
- A-Security Risk.
-Performance decrease due to data being sent back and forth between computers. - B-Viruses.
-Hackers.
- A-Security Risk.
64HTML5 can allow people to store information on their web browsers, what are the two main storage types?
- ASession and Local storage
- BHTML and CSS storage
65What is Local Storage?
- ANo limit to how long the data persists and users can save large amounts of persistent data.
- BLets users save session state data. It only lasts for the duration of the session.
66What is session storage?
- ALets users save session state data. It only lasts for the duration of the session.
- BNo limit to how long the data persists and users can save large amounts of persistent data.
67What is the similarity of Local and Session storage?
- ABoth methods allow users to store large amounts data without it slowing down a connection because data is transferred when it is requested.
- BBrowsers send cookies back to web servers, and this is used to identify and customize their experience. Cookies can slow down your app performance.
68What is AppCache or Application Cache?
- AAppCache 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.
- BDevelopers 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.
Information
- Description
- 10 Questions for BCS
- Author
- Rashaad Shakir
- Language
- English
- Views
- 10,937
- Tags
- Rating
- 5.0 out of 5 · 1 rating Rate this quiz