BCS Principles Of Coding

Description

10 Questions for BCS
Rashaad Shakir
Quiz by Rashaad Shakir, updated more than 1 year ago
Rashaad Shakir
Created by Rashaad Shakir over 6 years ago
10782
3

Resource summary

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
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
Answer
  • HTML code
  • server-side scripting language
  • Web server
  • Cookies

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
Answer
  • (1st) M
  • A
  • (2nd) M
  • P

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?
Answer
  • ON, ON
  • OFF, OFF

Question 12

Question
If none of the inputs on an OR gate is turned on, what will be the output?
Answer
  • OFF, OFF
  • ON, ON

Question 13

Question
If no inputs on an AND gate is on, what will be the output?
Answer
  • OFF, OFF
  • ON, ON

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?
Answer
  • 1
  • 2

Question 16

Question
If the input in a NOT gate is ON, what will the input be?
Answer
  • OFF
  • ON

Question 17

Question
Define HTML?
Answer
  • 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.

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?
Answer
  • MacOS
  • Macro Asus

Question 20

Question
What does the A stand for in MAMP?
Answer
  • Apache
  • Application

Question 21

Question
What is Apache?
Answer
  • Apache is a HTTP server
  • A markup language

Question 22

Question
What is MySQL?
Answer
  • A database management system
  • HTTP Server

Question 23

Question
What is PHP?
Answer
  • A coding language for websites
  • A HTTP server

Question 24

Question
LAMP THE L?
Answer
  • Linux
  • lonsdale

Question 25

Question
WAMP THE W?
Answer
  • Windows
  • Warwick

Question 26

Question
Whats the X in XAMPP?
Answer
  • Cross platform
  • Xanax

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?
Answer
  • The web server which is the HTTP server, Apache
  • A database like MySQL

Question 29

Question
What does the 3rd layer on the webstack layer represent?
Answer
  • The database like My SQL or Maria DB
  • The http server

Question 30

Question
The forth and fifth layer is?
Answer
  • The scripting language
  • The server

Question 31

Question
The compatibility of PDF file?
Answer
  • 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.

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?
Answer
  • Application Programming Interface
  • Application Programming International

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

Question
What is HTTP?
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

Question
What is HTTPS?
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:
Answer
  • Content management systems- Wordpress and Joomla
  • Content management systems- Linux and Wordlist

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?
Answer
  • Yes
  • No

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?
Answer
  • 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.

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?
Answer
  • This is written using a server-side scripting language
  • The coding language used to create static website with video tags

Question 54

Question
Examples of dynamic website coding?
Answer
  • PHP, ASP, JSP or ColdFusion
  • HTML 5, CSS

Question 55

Question
What is state management?
Answer
  • State management is the process of holding web page information
  • State management is the process of holding web page numbers

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?
Answer
  • 3
  • 6

Question 59

Question
What is a session state?
Answer
  • 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

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?
Answer
  • -Security Risk. -Performance decrease due to data being sent back and forth between computers.
  • -Viruses. -Hackers.

Question 64

Question
HTML5 can allow people to store information on their web browsers, what are the two main storage types?
Answer
  • Session and Local storage
  • HTML and CSS storage

Question 65

Question
What is Local Storage?
Answer
  • 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.

Question 66

Question
What is session storage?
Answer
  • Lets users save session state data. It only lasts for the duration of the session.
  • No limit to how long the data persists and users can save large amounts of persistent data.

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.
Show full summary Hide full summary

Similar

BCS - Administration
luckyjam
Data Protection Act Quiz
08adcarter
Anaethesia
tori.b24
Data Protection Act
sam.bradford
entrepreneur
harriet.sharp
Hardware-input devices. Manual input devices
bethany.clint
Software
sam.bradford
34th BCS Preliminary Questions
jobpagebd.com
Untitled
elissa.mansley
PSBD TEST # 3_1
Suleman Shah
GCSE REVISION TIMETABLE
nimraa422