BCS Principles Of Coding

Descrição

10 Questions for BCS
Rashaad Shakir
Quiz por Rashaad Shakir, atualizado more than 1 year ago
Rashaad Shakir
Criado por Rashaad Shakir mais de 6 anos atrás
10782
3

Resumo de Recurso

Questão 1

Questão
What is the scripting language in XAMPP
Responda
  • Cross-Platform
  • PHP
  • MySQL
  • Perl
  • PHP and Perl

Questão 2

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

Questão 3

Questão
What file does the web crawler look at?
Responda
  • HTML
  • CSS
  • Robots.txt
  • None of the above

Questão 4

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

Questão 5

Questão
What files can be accessed across different platforms
Responda
  • PNG, GIF, SNF, TPA
  • PDF, SNF, GIF, JPG,
  • GIF, SNF, TLS, PDF
  • PDF, GIF PNG, JPG

Questão 6

Questão
Define Dynamic Website
Responda
  • HTML code
  • server-side scripting language
  • Web server
  • Cookies

Questão 7

Questão
How does SSL and Transport Layer work
Responda
  • 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

Questão 8

Questão
What letter is the database in MAMP
Responda
  • (1st) M
  • A
  • (2nd) M
  • P

Questão 9

Questão
How many inputs does a NOT Gate have
Responda
  • 2
  • 3
  • As many as required
  • 1

Questão 10

Questão
If the output is on, on an OR gate then what will the input be?
Responda
  • OFF, ON
  • ON, OFF
  • OFF, OFF
  • ON, ON

Questão 11

Questão
If two or more inputs on an OR gate are on, what will be the output?
Responda
  • ON, ON
  • OFF, OFF

Questão 12

Questão
If none of the inputs on an OR gate is turned on, what will be the output?
Responda
  • OFF, OFF
  • ON, ON

Questão 13

Questão
If no inputs on an AND gate is on, what will be the output?
Responda
  • OFF, OFF
  • ON, ON

Questão 14

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

Questão 15

Questão
How many inputs does a NOT gate have?
Responda
  • 1
  • 2

Questão 16

Questão
If the input in a NOT gate is ON, what will the input be?
Responda
  • OFF
  • ON

Questão 17

Questão
Define HTML?
Responda
  • 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.

Questão 18

Questão
In HTML5 what is it that W3C has added?
Responda
  • <video> and <audio> tag
  • <li> and <i> tag

Questão 19

Questão
What does the M stand for in MAMP?
Responda
  • MacOS
  • Macro Asus

Questão 20

Questão
What does the A stand for in MAMP?
Responda
  • Apache
  • Application

Questão 21

Questão
What is Apache?
Responda
  • Apache is a HTTP server
  • A markup language

Questão 22

Questão
What is MySQL?
Responda
  • A database management system
  • HTTP Server

Questão 23

Questão
What is PHP?
Responda
  • A coding language for websites
  • A HTTP server

Questão 24

Questão
LAMP THE L?
Responda
  • Linux
  • lonsdale

Questão 25

Questão
WAMP THE W?
Responda
  • Windows
  • Warwick

Questão 26

Questão
Whats the X in XAMPP?
Responda
  • Cross platform
  • Xanax

Questão 27

Questão
First letter of the web stack is?
Responda
  • The Operating System used like Windows, Mac OS, Linux
  • The HTTP server like Apache

Questão 28

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

Questão 29

Questão
What does the 3rd layer on the webstack layer represent?
Responda
  • The database like My SQL or Maria DB
  • The http server

Questão 30

Questão
The forth and fifth layer is?
Responda
  • The scripting language
  • The server

Questão 31

Questão
The compatibility of PDF file?
Responda
  • 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.

Questão 32

Questão
The compatibility of HTML?
Responda
  • 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

Questão 33

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

Questão 34

Questão
The compatibility of video files?
Responda
  • 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++.

Questão 35

Questão
What does the API stand for?
Responda
  • Application Programming Interface
  • Application Programming International

Questão 36

Questão
What is the application programming interface?
Responda
  • 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

Questão 37

Questão
What does HTTP stand for?
Responda
  • Hyper Transfer Protocol
  • Hyper Traport Protocol

Questão 38

Questão
What is HTTP?
Responda
  • 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

Questão 39

Questão
What is HTTPS?
Responda
  • 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

Questão 40

Questão
What does SSL stand for?
Responda
  • Secure Socket Layer
  • Secure Sonic Layer

Questão 41

Questão
What does TLS stand for?
Responda
  • Transport Layer Security
  • Transport Logic Security

Questão 42

Questão
What does the TLS and SSL layer do?
Responda
  • 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

Questão 43

Questão
Web and Application server
Responda
  • 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

Questão 44

Questão
Examples of web and application servers:
Responda
  • Content management systems- Wordpress and Joomla
  • Content management systems- Linux and Wordlist

Questão 45

Questão
What is a relational database?
Responda
  • 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.

Questão 46

Questão
What is the purpose of a web browser?
Responda
  • 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.

Questão 47

Questão
Is a browser a web client?
Responda
  • Yes
  • No

Questão 48

Questão
What actions can web applications give you?
Responda
  • Gmail, Facebook, Google analytics
  • Windows defender, linux anti virus

Questão 49

Questão
What do web crawlers do?
Responda
  • 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.

Questão 50

Questão
Why is it important for web crawlers to visit your website?
Responda
  • 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.

Questão 51

Questão
What is Robots.txt?
Responda
  • 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.

Questão 52

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

Questão 53

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

Questão 54

Questão
Examples of dynamic website coding?
Responda
  • PHP, ASP, JSP or ColdFusion
  • HTML 5, CSS

Questão 55

Questão
What is state management?
Responda
  • State management is the process of holding web page information
  • State management is the process of holding web page numbers

Questão 56

Questão
What does a state management use?
Responda
  • 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.

Questão 57

Questão
What is HTTP stateless protocol?
Responda
  • 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.

Questão 58

Questão
How many types of states are there?
Responda
  • 3
  • 6

Questão 59

Questão
What is a session state?
Responda
  • 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

Questão 60

Questão
What is a application state?
Responda
  • 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

Questão 61

Questão
What is a persistent state?
Responda
  • 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

Questão 62

Questão
What are cookies?
Responda
  • 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.

Questão 63

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

Questão 64

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

Questão 65

Questão
What is Local Storage?
Responda
  • 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.

Questão 66

Questão
What is session storage?
Responda
  • 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.

Questão 67

Questão
What is the similarity of Local and Session storage?
Responda
  • 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.

Questão 68

Questão
What is AppCache or Application Cache?
Responda
  • 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.

Semelhante

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
Conjunções
GoConqr suporte .
Estrutura e Formação de Palavras
adrianegonaves