BCS Principles Of Coding

Descripción

10 Questions for BCS
Rashaad Shakir
Test por Rashaad Shakir, actualizado hace más de 1 año
Rashaad Shakir
Creado por Rashaad Shakir hace casi 6 años
10431
3

Resumen del Recurso

Pregunta 1

Pregunta
What is the scripting language in XAMPP
Respuesta
  • Cross-Platform
  • PHP
  • MySQL
  • Perl
  • PHP and Perl

Pregunta 2

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

Pregunta 3

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

Pregunta 4

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

Pregunta 5

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

Pregunta 6

Pregunta
Define Dynamic Website
Respuesta
  • HTML code
  • server-side scripting language
  • Web server
  • Cookies

Pregunta 7

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

Pregunta 8

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

Pregunta 9

Pregunta
How many inputs does a NOT Gate have
Respuesta
  • 2
  • 3
  • As many as required
  • 1

Pregunta 10

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

Pregunta 11

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

Pregunta 12

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

Pregunta 13

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

Pregunta 14

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

Pregunta 15

Pregunta
How many inputs does a NOT gate have?
Respuesta
  • 1
  • 2

Pregunta 16

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

Pregunta 17

Pregunta
Define HTML?
Respuesta
  • 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.

Pregunta 18

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

Pregunta 19

Pregunta
What does the M stand for in MAMP?
Respuesta
  • MacOS
  • Macro Asus

Pregunta 20

Pregunta
What does the A stand for in MAMP?
Respuesta
  • Apache
  • Application

Pregunta 21

Pregunta
What is Apache?
Respuesta
  • Apache is a HTTP server
  • A markup language

Pregunta 22

Pregunta
What is MySQL?
Respuesta
  • A database management system
  • HTTP Server

Pregunta 23

Pregunta
What is PHP?
Respuesta
  • A coding language for websites
  • A HTTP server

Pregunta 24

Pregunta
LAMP THE L?
Respuesta
  • Linux
  • lonsdale

Pregunta 25

Pregunta
WAMP THE W?
Respuesta
  • Windows
  • Warwick

Pregunta 26

Pregunta
Whats the X in XAMPP?
Respuesta
  • Cross platform
  • Xanax

Pregunta 27

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

Pregunta 28

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

Pregunta 29

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

Pregunta 30

Pregunta
The forth and fifth layer is?
Respuesta
  • The scripting language
  • The server

Pregunta 31

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

Pregunta 32

Pregunta
The compatibility of HTML?
Respuesta
  • 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

Pregunta 33

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

Pregunta 34

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

Pregunta 35

Pregunta
What does the API stand for?
Respuesta
  • Application Programming Interface
  • Application Programming International

Pregunta 36

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

Pregunta 37

Pregunta
What does HTTP stand for?
Respuesta
  • Hyper Transfer Protocol
  • Hyper Traport Protocol

Pregunta 38

Pregunta
What is HTTP?
Respuesta
  • 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

Pregunta 39

Pregunta
What is HTTPS?
Respuesta
  • 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

Pregunta 40

Pregunta
What does SSL stand for?
Respuesta
  • Secure Socket Layer
  • Secure Sonic Layer

Pregunta 41

Pregunta
What does TLS stand for?
Respuesta
  • Transport Layer Security
  • Transport Logic Security

Pregunta 42

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

Pregunta 43

Pregunta
Web and Application server
Respuesta
  • 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

Pregunta 44

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

Pregunta 45

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

Pregunta 46

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

Pregunta 47

Pregunta
Is a browser a web client?
Respuesta
  • Yes
  • No

Pregunta 48

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

Pregunta 49

Pregunta
What do web crawlers do?
Respuesta
  • 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.

Pregunta 50

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

Pregunta 51

Pregunta
What is Robots.txt?
Respuesta
  • 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.

Pregunta 52

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

Pregunta 53

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

Pregunta 54

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

Pregunta 55

Pregunta
What is state management?
Respuesta
  • State management is the process of holding web page information
  • State management is the process of holding web page numbers

Pregunta 56

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

Pregunta 57

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

Pregunta 58

Pregunta
How many types of states are there?
Respuesta
  • 3
  • 6

Pregunta 59

Pregunta
What is a session state?
Respuesta
  • 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

Pregunta 60

Pregunta
What is a application state?
Respuesta
  • 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

Pregunta 61

Pregunta
What is a persistent state?
Respuesta
  • 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

Pregunta 62

Pregunta
What are cookies?
Respuesta
  • 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.

Pregunta 63

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

Pregunta 64

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

Pregunta 65

Pregunta
What is Local Storage?
Respuesta
  • 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.

Pregunta 66

Pregunta
What is session storage?
Respuesta
  • 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.

Pregunta 67

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

Pregunta 68

Pregunta
What is AppCache or Application Cache?
Respuesta
  • 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.
Mostrar resumen completo Ocultar resumen completo

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
Cabeza y cuello
maca.s
EL ADVERBIO
Raquel Serdio