BCS Principles Of Coding

Beschreibung

10 Questions for BCS
Rashaad Shakir
Quiz von Rashaad Shakir, aktualisiert more than 1 year ago
Rashaad Shakir
Erstellt von Rashaad Shakir vor mehr als 6 Jahre
10782
3

Zusammenfassung der Ressource

Frage 1

Frage
What is the scripting language in XAMPP
Antworten
  • Cross-Platform
  • PHP
  • MySQL
  • Perl
  • PHP and Perl

Frage 2

Frage
A programmer runs the following program: a=47; b=28; a=20; if (a < 45 or b > 26) { printf(“SUCCESS”); } else { printf(“FAILED”); }
Antworten
  • The word “SUCCESS” appears on screen.
  • Nothing happens.
  • The word “SUCCESS” gets printed out
  • The word “FAILED” appears on screen

Frage 3

Frage
What file does the web crawler look at?
Antworten
  • HTML
  • CSS
  • Robots.txt
  • None of the above

Frage 4

Frage
Which one of the following page elements will NOT affect SEO?
Antworten
  • Colour of the text and background.
  • Choice of mark-up attributes.
  • Speed which the code transfers
  • The type of browser used.

Frage 5

Frage
What files can be accessed across different platforms
Antworten
  • PNG, GIF, SNF, TPA
  • PDF, SNF, GIF, JPG,
  • GIF, SNF, TLS, PDF
  • PDF, GIF PNG, JPG

Frage 6

Frage
Define Dynamic Website
Antworten
  • HTML code
  • server-side scripting language
  • Web server
  • Cookies

Frage 7

Frage
How does SSL and Transport Layer work
Antworten
  • 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

Frage 8

Frage
What letter is the database in MAMP
Antworten
  • (1st) M
  • A
  • (2nd) M
  • P

Frage 9

Frage
How many inputs does a NOT Gate have
Antworten
  • 2
  • 3
  • As many as required
  • 1

Frage 10

Frage
If the output is on, on an OR gate then what will the input be?
Antworten
  • OFF, ON
  • ON, OFF
  • OFF, OFF
  • ON, ON

Frage 11

Frage
If two or more inputs on an OR gate are on, what will be the output?
Antworten
  • ON, ON
  • OFF, OFF

Frage 12

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

Frage 13

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

Frage 14

Frage
If all of the inputs on the AND gate are on, what will be the output?
Antworten
  • 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

Frage 15

Frage
How many inputs does a NOT gate have?
Antworten
  • 1
  • 2

Frage 16

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

Frage 17

Frage
Define HTML?
Antworten
  • 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.

Frage 18

Frage
In HTML5 what is it that W3C has added?
Antworten
  • <video> and <audio> tag
  • <li> and <i> tag

Frage 19

Frage
What does the M stand for in MAMP?
Antworten
  • MacOS
  • Macro Asus

Frage 20

Frage
What does the A stand for in MAMP?
Antworten
  • Apache
  • Application

Frage 21

Frage
What is Apache?
Antworten
  • Apache is a HTTP server
  • A markup language

Frage 22

Frage
What is MySQL?
Antworten
  • A database management system
  • HTTP Server

Frage 23

Frage
What is PHP?
Antworten
  • A coding language for websites
  • A HTTP server

Frage 24

Frage
LAMP THE L?
Antworten
  • Linux
  • lonsdale

Frage 25

Frage
WAMP THE W?
Antworten
  • Windows
  • Warwick

Frage 26

Frage
Whats the X in XAMPP?
Antworten
  • Cross platform
  • Xanax

Frage 27

Frage
First letter of the web stack is?
Antworten
  • The Operating System used like Windows, Mac OS, Linux
  • The HTTP server like Apache

Frage 28

Frage
What does the 2nd letter mean in a webstack layer?
Antworten
  • The web server which is the HTTP server, Apache
  • A database like MySQL

Frage 29

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

Frage 30

Frage
The forth and fifth layer is?
Antworten
  • The scripting language
  • The server

Frage 31

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

Frage 32

Frage
The compatibility of HTML?
Antworten
  • 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

Frage 33

Frage
The compatibility of Image files?
Antworten
  • (GIF, JPG, PNG) All file formats
  • Mpeg; used in older browsers but now the new HTML5 supports videos and can run .mp4 files.

Frage 34

Frage
The compatibility of video files?
Antworten
  • 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++.

Frage 35

Frage
What does the API stand for?
Antworten
  • Application Programming Interface
  • Application Programming International

Frage 36

Frage
What is the application programming interface?
Antworten
  • 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

Frage 37

Frage
What does HTTP stand for?
Antworten
  • Hyper Transfer Protocol
  • Hyper Traport Protocol

Frage 38

Frage
What is HTTP?
Antworten
  • 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

Frage 39

Frage
What is HTTPS?
Antworten
  • 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

Frage 40

Frage
What does SSL stand for?
Antworten
  • Secure Socket Layer
  • Secure Sonic Layer

Frage 41

Frage
What does TLS stand for?
Antworten
  • Transport Layer Security
  • Transport Logic Security

Frage 42

Frage
What does the TLS and SSL layer do?
Antworten
  • 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

Frage 43

Frage
Web and Application server
Antworten
  • 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

Frage 44

Frage
Examples of web and application servers:
Antworten
  • Content management systems- Wordpress and Joomla
  • Content management systems- Linux and Wordlist

Frage 45

Frage
What is a relational database?
Antworten
  • 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.

Frage 46

Frage
What is the purpose of a web browser?
Antworten
  • 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.

Frage 47

Frage
Is a browser a web client?
Antworten
  • Yes
  • No

Frage 48

Frage
What actions can web applications give you?
Antworten
  • Gmail, Facebook, Google analytics
  • Windows defender, linux anti virus

Frage 49

Frage
What do web crawlers do?
Antworten
  • 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.

Frage 50

Frage
Why is it important for web crawlers to visit your website?
Antworten
  • 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.

Frage 51

Frage
What is Robots.txt?
Antworten
  • 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.

Frage 52

Frage
What is a static website?
Antworten
  • This is written using a server-side scripting language such as PHP, ASP, JSP or ColdFusion
  • This is written in code usually in HTML

Frage 53

Frage
What is a dynamic website?
Antworten
  • This is written using a server-side scripting language
  • The coding language used to create static website with video tags

Frage 54

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

Frage 55

Frage
What is state management?
Antworten
  • State management is the process of holding web page information
  • State management is the process of holding web page numbers

Frage 56

Frage
What does a state management use?
Antworten
  • 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.

Frage 57

Frage
What is HTTP stateless protocol?
Antworten
  • 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.

Frage 58

Frage
How many types of states are there?
Antworten
  • 3
  • 6

Frage 59

Frage
What is a session state?
Antworten
  • 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

Frage 60

Frage
What is a application state?
Antworten
  • 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

Frage 61

Frage
What is a persistent state?
Antworten
  • 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

Frage 62

Frage
What are cookies?
Antworten
  • 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.

Frage 63

Frage
What are the problems with cookies?
Antworten
  • -Security Risk. -Performance decrease due to data being sent back and forth between computers.
  • -Viruses. -Hackers.

Frage 64

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

Frage 65

Frage
What is Local Storage?
Antworten
  • 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.

Frage 66

Frage
What is session storage?
Antworten
  • 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.

Frage 67

Frage
What is the similarity of Local and Session storage?
Antworten
  • 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.

Frage 68

Frage
What is AppCache or Application Cache?
Antworten
  • 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.
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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
Grundbegriffe der Kunst
K Gal
Geometrie 1-16
Christoph Affolter