Rashaad Shakir
Quiz von , erstellt am more than 1 year ago

10 Questions for BCS

10629
3
1
Rashaad Shakir
Erstellt von Rashaad Shakir vor fast 6 Jahre
Schließen

BCS Principles Of Coding

Frage 1 von 68

1

What is the scripting language in XAMPP

Wähle eine der folgenden:

  • Cross-Platform

  • PHP

  • MySQL

  • Perl

  • PHP and Perl

Erklärung

Frage 2 von 68

1

A programmer runs the following program:
a=47;
b=28;
a=20;
if (a < 45 or b > 26)
{
printf(“SUCCESS”);
}
else
{
printf(“FAILED”);
}

Wähle eine der folgenden:

  • The word “SUCCESS” appears on screen.

  • Nothing happens.

  • The word “SUCCESS” gets printed out

  • The word “FAILED” appears on screen

Erklärung

Frage 3 von 68

1

What file does the web crawler look at?

Wähle eine der folgenden:

  • HTML

  • CSS

  • Robots.txt

  • None of the above

Erklärung

Frage 4 von 68

1

Which one of the following page elements will NOT affect SEO?

Wähle eine der folgenden:

  • Colour of the text and background.

  • Choice of mark-up attributes.

  • Speed which the code transfers

  • The type of browser used.

Erklärung

Frage 5 von 68

1

What files can be accessed across different platforms

Wähle eine der folgenden:

  • PNG, GIF, SNF, TPA

  • PDF, SNF, GIF, JPG,

  • GIF, SNF, TLS, PDF

  • PDF, GIF PNG, JPG

Erklärung

Frage 6 von 68

1

Define Dynamic Website

Wähle eine der folgenden:

  • HTML code

  • server-side scripting language

  • Web server

  • Cookies

Erklärung

Frage 7 von 68

1

How does SSL and Transport Layer work

Wähle eine der folgenden:

  • 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

Erklärung

Frage 8 von 68

1

What letter is the database in MAMP

Wähle eine der folgenden:

  • (1st) M

  • A

  • (2nd) M

  • P

Erklärung

Frage 9 von 68

1

How many inputs does a NOT Gate have

Wähle eine der folgenden:

  • 2

  • 3

  • As many as required

  • 1

Erklärung

Frage 10 von 68

1

If the output is on, on an OR gate then what will the input be?

Wähle eine der folgenden:

  • OFF, ON

  • ON, OFF

  • OFF, OFF

  • ON, ON

Erklärung

Frage 11 von 68

1

If two or more inputs on an OR gate are on, what will be the output?

Wähle eine der folgenden:

  • ON, ON

  • OFF, OFF

Erklärung

Frage 12 von 68

1

If none of the inputs on an OR gate is turned on, what will be the output?

Wähle eine der folgenden:

  • OFF, OFF

  • ON, ON

Erklärung

Frage 13 von 68

1

If no inputs on an AND gate is on, what will be the output?

Wähle eine der folgenden:

  • OFF, OFF

  • ON, ON

Erklärung

Frage 14 von 68

1

If all of the inputs on the AND gate are on, what will be the output?

Wähle eine der folgenden:

  • 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

Erklärung

Frage 15 von 68

1

How many inputs does a NOT gate have?

Wähle eine der folgenden:

  • 1

  • 2

Erklärung

Frage 16 von 68

1

If the input in a NOT gate is ON, what will the input be?

Wähle eine der folgenden:

  • OFF

  • ON

Erklärung

Frage 17 von 68

1

Define HTML?

Wähle eine der folgenden:

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

Erklärung

Frage 18 von 68

1

In HTML5 what is it that W3C has added?

Wähle eine der folgenden:

  • <video> and <audio> tag

  • <li> and <i> tag

Erklärung

Frage 19 von 68

1

What does the M stand for in MAMP?

Wähle eine der folgenden:

  • MacOS

  • Macro Asus

Erklärung

Frage 20 von 68

1

What does the A stand for in MAMP?

Wähle eine der folgenden:

  • Apache

  • Application

Erklärung

Frage 21 von 68

1

What is Apache?

Wähle eine der folgenden:

  • Apache is a HTTP server

  • A markup language

Erklärung

Frage 22 von 68

1

What is MySQL?

Wähle eine der folgenden:

  • A database management system

  • HTTP Server

Erklärung

Frage 23 von 68

1

What is PHP?

Wähle eine der folgenden:

  • A coding language for websites

  • A HTTP server

Erklärung

Frage 24 von 68

1

LAMP THE L?

Wähle eine der folgenden:

  • Linux

  • lonsdale

Erklärung

Frage 25 von 68

1

WAMP THE W?

Wähle eine der folgenden:

  • Windows

  • Warwick

Erklärung

Frage 26 von 68

1

Whats the X in XAMPP?

Wähle eine der folgenden:

  • Cross platform

  • Xanax

Erklärung

Frage 27 von 68

1

First letter of the web stack is?

Wähle eine der folgenden:

  • The Operating System used like Windows, Mac OS, Linux

  • The HTTP server like Apache

Erklärung

Frage 28 von 68

1

What does the 2nd letter mean in a webstack layer?

Wähle eine der folgenden:

  • The web server which is the HTTP server, Apache

  • A database like MySQL

Erklärung

Frage 29 von 68

1

What does the 3rd layer on the webstack layer represent?

Wähle eine der folgenden:

  • The database like My SQL or Maria DB

  • The http server

Erklärung

Frage 30 von 68

1

The forth and fifth layer is?

Wähle eine der folgenden:

  • The scripting language

  • The server

Erklärung

Frage 31 von 68

1

The compatibility of PDF file?

Wähle eine der folgenden:

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

Erklärung

Frage 32 von 68

1

The compatibility of HTML?

Wähle eine der folgenden:

  • 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

Erklärung

Frage 33 von 68

1

The compatibility of Image files?

Wähle eine der folgenden:

  • (GIF, JPG, PNG) All file formats

  • Mpeg; used in older browsers but now the new HTML5 supports videos and can run .mp4 files.

Erklärung

Frage 34 von 68

1

The compatibility of video files?

Wähle eine der folgenden:

  • 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++.

Erklärung

Frage 35 von 68

1

What does the API stand for?

Wähle eine der folgenden:

  • Application Programming Interface

  • Application Programming International

Erklärung

Frage 36 von 68

1

What is the application programming interface?

Wähle eine der folgenden:

  • 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

Erklärung

Frage 37 von 68

1

What does HTTP stand for?

Wähle eine der folgenden:

  • Hyper Transfer Protocol

  • Hyper Traport Protocol

Erklärung

Frage 38 von 68

1

What is HTTP?

Wähle eine der folgenden:

  • 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

Erklärung

Frage 39 von 68

1

What is HTTPS?

Wähle eine der folgenden:

  • 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

Erklärung

Frage 40 von 68

1

What does SSL stand for?

Wähle eine der folgenden:

  • Secure Socket Layer

  • Secure Sonic Layer

Erklärung

Frage 41 von 68

1

What does TLS stand for?

Wähle eine der folgenden:

  • Transport Layer Security

  • Transport Logic Security

Erklärung

Frage 42 von 68

1

What does the TLS and SSL layer do?

Wähle eine der folgenden:

  • 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

Erklärung

Frage 43 von 68

1

Web and Application server

Wähle eine der folgenden:

  • 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

Erklärung

Frage 44 von 68

1

Examples of web and application servers:

Wähle eine der folgenden:

  • Content management systems- Wordpress and Joomla

  • Content management systems- Linux and Wordlist

Erklärung

Frage 45 von 68

1

What is a relational database?

Wähle eine der folgenden:

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

Erklärung

Frage 46 von 68

1

What is the purpose of a web browser?

Wähle eine der folgenden:

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

Erklärung

Frage 47 von 68

1

Is a browser a web client?

Wähle eine der folgenden:

  • Yes

  • No

Erklärung

Frage 48 von 68

1

What actions can web applications give you?

Wähle eine der folgenden:

  • Gmail, Facebook, Google analytics

  • Windows defender, linux anti virus

Erklärung

Frage 49 von 68

1

What do web crawlers do?

Wähle eine der folgenden:

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

Erklärung

Frage 50 von 68

1

Why is it important for web crawlers to visit your website?

Wähle eine der folgenden:

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

Erklärung

Frage 51 von 68

1

What is Robots.txt?

Wähle eine der folgenden:

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

Erklärung

Frage 52 von 68

1

What is a static website?

Wähle eine der folgenden:

  • This is written using a server-side scripting language such as PHP, ASP, JSP or ColdFusion

  • This is written in code usually in HTML

Erklärung

Frage 53 von 68

1

What is a dynamic website?

Wähle eine der folgenden:

  • This is written using a server-side scripting language

  • The coding language used to create static website with video tags

Erklärung

Frage 54 von 68

1

Examples of dynamic website coding?

Wähle eine der folgenden:

  • PHP, ASP, JSP or ColdFusion

  • HTML 5, CSS

Erklärung

Frage 55 von 68

1

What is state management?

Wähle eine der folgenden:

  • State management is the process of holding web page information

  • State management is the process of holding web page numbers

Erklärung

Frage 56 von 68

1

What does a state management use?

Wähle eine der folgenden:

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

Erklärung

Frage 57 von 68

1

What is HTTP stateless protocol?

Wähle eine der folgenden:

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

Erklärung

Frage 58 von 68

1

How many types of states are there?

Wähle eine der folgenden:

  • 3

  • 6

Erklärung

Frage 59 von 68

1

What is a session state?

Wähle eine der folgenden:

  • 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

Erklärung

Frage 60 von 68

1

What is a application state?

Wähle eine der folgenden:

  • 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

Erklärung

Frage 61 von 68

1

What is a persistent state?

Wähle eine der folgenden:

  • 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

Erklärung

Frage 62 von 68

1

What are cookies?

Wähle eine der folgenden:

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

Erklärung

Frage 63 von 68

1

What are the problems with cookies?

Wähle eine der folgenden:

  • -Security Risk.
    -Performance decrease due to data being sent back and forth between computers.

  • -Viruses.
    -Hackers.

Erklärung

Frage 64 von 68

1

HTML5 can allow people to store information on their web browsers, what are the two main storage types?

Wähle eine der folgenden:

  • Session and Local storage

  • HTML and CSS storage

Erklärung

Frage 65 von 68

1

What is Local Storage?

Wähle eine der folgenden:

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

Erklärung

Frage 66 von 68

1

What is session storage?

Wähle eine der folgenden:

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

Erklärung

Frage 67 von 68

1

What is the similarity of Local and Session storage?

Wähle eine der folgenden:

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

Erklärung

Frage 68 von 68

1

What is AppCache or Application Cache?

Wähle eine der folgenden:

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

Erklärung