{ "name": "System Design and Concept Questions", "order": 3, "time": "", "helpRoom": "HelpJavaScript", "challenges": [ { "id": "59874fc749228906236a3275", "title": "Array.prototype.map", "description": [ { "subtitle": "Flooring an Array", "question": "What will the following code print out?\n
const results = [1.32, 2.43, 3.9]\n  .map(Math.floor);\nconsole.log(results);
", "choices": [ "
1.32 2.43 3.9
", "
['1.32', '2.43', '3.9']
", "
[1, 2, 3]
", "
'1 2 3'
" ], "answer": 2, "explanation": "The map function takes a callback function as it's first parameter and applies that function against every value inside the array. In this example, our callback function is the Math.floor function which will truncate the decimal points of all the numbers and convert them to integers." }, { "subtitle": "Custom Map Functions", "question": "What will the following code print out?\n
const results = ['a', 'b', 'c']\n  .map(a => [a.toUpperCase()]);\nconsole.log(results);
", "choices": [ "
[['A'], ['B'], ['C']]
", "
['A', 'B', 'C']
", "
['a', 'b', 'c]
", "
'ABC'
" ], "answer": 0, "explanation": "The map function will return a new array with each element equal to the old element ran through a callback function. Our callback function takes our original element, changes it to a upper case, and then wraps it in an array; thus, leaving us with [['A'], ['B'], ['C']]" }, { "subtitle": "Maps on Maps", "question": "What will the following code print out?\n
const results = [[4, 1], [2, 0], [3, 3]]\n  .map(a => \n    a.map(b => b % 2)[0] + a.map(b => b - 1)[1]\n  )\nconsole.log(results);
", "choices": [ "
[[0, 1], [0, 0], [1, 1]]
", "
[[0, 0], [0, -1], [1, 2]]
", "
[1, 1, 2]
", "
[0, -1, 3]
" ], "answer": 3, "explanation": "This answer can be explained by first looking at the example of what happens with the first element in our array, [4, 1]. Our first map callback will run a mod 2 map function over [4, 1] leaving us with a new array of [0, 1]. The second map call which is inside our callback will subtract 1 from every element, leaving us with [3, 0]. Last, we take element at index 0, 0, and add it to element of index 1 from our second map function, 0, leaving us with 0; thus, after the first iteration of the top level map function, we are left with an array that looks like so: [1, [2, 0], [3, 3]]. We simply keep doing that logic for the other elements until we finish: [1, -1, [3, 3]], and [1, -1, 3]" }, { "subtitle": "Words Containing 'a'", "question": "What will the following code print out?\n
const results = ['apple', 'dog', 'cat']\n  .map((a, i) => \n    a.indexOf('a') !== -1 ? i : null)\nconsole.log(results);
", "choices": [ "
[0, -1, 1]
", "
[0, null, 2]
", "
[null, null, null]
", "
[-1, null, 2]
" ], "answer": 1, "explanation": "This map example will return an array where each elements of the new array is either the original array index when the element contains the character 'a'; otherwise, an element of null for any words that do not have the character 'a'." }, { "subtitle": "Accessing the Original Array Elements", "question": "What will the following code print out?\n
const results = [1, 2, 3]\n  .map((a, _, o) => a + o[0])\nconsole.log(results);
", "choices": [ "
[1, 2, 3]
", "
[0, 0, 0]
", "
[3, 2, 1]
", "
[2, 3, 4]
" ], "answer": 3, "explanation": "This map example will add the value of the first element in the original array to all the other elements in the array." }, { "subtitle": "More Map Hacking", "question": "What will the following code print out?\n
const results = [8, 5, 3]\n  .map((a, i, o) => o[o.length - i - 1])\nconsole.log(results);
", "choices": [ "
[3, 5, 8]
", "
[5, 3, 8]
", "
[8, 5, 3]
", "
[3, 8, 5]
" ], "answer": 0, "explanation": "This map example will reverse the array. The third argument to the map callback function is the original array; therefore, we can use the current index in the map function, and work our way backwards from the end of the array using the o.length." }, { "subtitle": "Custom Scoping", "question": "What will the following code print out?\n
const results = ['a', 'b', 'c']\n  .map(function(a) { return this[a]; }, {a: 9, b: 3, c: 1})\nconsole.log(results);
", "choices": [ "
['a', 'b', 'c']
", "
[9, 3, 1]
", "
[3, 9, 1]
", "
[{a: 9}, {b: 3}, {c: 1}]
" ], "answer": 1, "explanation": "This map example will reverse the array. The third argument to the map callback function is the original array; therefore, we can use the current index in the map function, and work our way backwards from the end of the array using the o.length." }, { "subtitle": "Reversing in Map, Just Because", "question": "What will the following code print out?\n
const results = [1, 2, 3, 4, 5]\n  .map((a, _, o) => o.reverse() && a)\nconsole.log(results);
", "choices": [ "
[5, 4, 3, 2, 1]
", "
[5, 2, 3, 5, 1]
", "
[1, 2, 3, 4, 5]
", "
[1, 4, 3, 2, 5]
" ], "answer": 3, "explanation": "This map example will reverse the array. The third argument to the map callback function is the original array; therefore, we can use the current index in the map function, and work our way backwards from the end of the array using the o.length." } ], "tests": [], "challengeType": 8 }, { "id": "5a916843a9178457a6f1281f", "title": "General questions", "description": [ { "subtitle": "Data Structure stack", "question": "A stack data structure obeys the principles of Last in First Out (LIFO) true or false", "choices": [ "
true
", "
false
" ], "answer": 0, "explanation": "true" }, { "subtitle": "Sorting algorithm", "question": "Which of the following is not a common sorting algorithm ?", "choices": [ "
Bubble Sort
", "
QuickSort
", "
HeapSort
", "
Branch Sort
" ], "answer": 3, "explanation": "Branch sort is not a sorting algorithm" }, { "subtitle": "Persistent storage", "question": "CRUD operation stand for ?", "choices": [ "
Create, Read, Update, Delete
", "
Copy, Reduce, Update, Define
", "
Create, Rich, Unique, Document
", "
Cancel, Reduce, Unify, Dispose
" ], "answer": 0, "explanation": "CRUD stands for Create - Read - Update and Delete and are the four basic operations of persistent storage" }, { "subtitle": "Numeric types", "question": "Select the correct Numeric types to their correct size.", "choices": [ "
Byte - 8 bits, long - 64 bits,int - 32 bits, short - 16 bits.
", "
Byte - 8 bits, long - 32 bits ,int - 64 bits, short - 16 bits.
", "
Byte - 8 bits, long - 16 bits ,int - 32 bits, short - 64 bits.
", "
Byte - 32 bits, long - 8 bits ,int - 64 bits, short - 16 bits.
" ], "answer": 0, "explanation": "byte 8 bits, short 16 bits, int 32 bits, long 64 bits." }, { "subtitle": "Software architecture pattern", "question": "The MVC software architectural pattern stands for ?", "choices": [ "
MeanStack - View - Class
", "
Modal - Vector - Control
", "
Model - View - Controller
", "
Mapped - Volume - Content
" ], "answer": 2, "explanation": "The MVC pattern is used to keep separate three main components of an application, the idea being for example the data or 'Model' does not need to know what the 'View' or presentation of that data is doing and vice versa, with the 'Controller' handling any logic or input from the user to manipulate the 'Model'." }, { "subtitle": "XPath navigation", "question": "The XPath syntax is used to traverse data stored in which format", "choices": [ "
XML
", "
JSON
", "
Xtend
", "
Text
" ], "answer": 0, "explanation": "is used to navigate nodes and attributes within an XML document and stands for XML Path Language." }, { "subtitle": "Functions and side effects", "question": "If a function is said to have side-effects it is expected to ?", "choices": [ "
Only return after an enclosed inner function has returned
", "
Contain 'Blocking' code which can affect the stability of the program
", "
Modify some kind of state outside of its own scope such as a global variable or change the value of its own arguments.
", "
Have high algorithm complexity.
" ], "answer": 2, "explanation": "Other charateristics of side-effects would be writing data to the log, interacting with users or systems on the same network and calling other functions with side-effects." }, { "subtitle": "Time-Complexity", "question": "The term 'Time-Complexity' relates to ?", "choices": [ "
HTTP requests
", "
Algorithms
", "
Inheritance
", "
Consuming API's
" ], "answer": 1, "explanation": "Algorithm Time-Complexity is the total amount of time needed for an algorithm to run till full completion and is more often expressed with 'big-O-notation'." }, { "subtitle": "Find the odd", "question": "Which of the following programming languages is the odd one out ?", "choices": [ "
C#
", "
Java
", "
Cobol
", "
PHP
" ], "answer": 3, "explanation": "PHP is generally referred to as an interpreted language where as the other three are considered languages generally processed by compilers." }, { "subtitle": "Find the odd, again", "question": "Which in the following list is the odd one out ?", "choices": [ "
Boolean
", "
Character
", "
Array
", "
Null
" ], "answer": 2, "explanation": "An array in most languages is considered an object where as the other three are primitive data types." }, { "subtitle": "Programming languages paradigms", "question": "Object-oriented and Functional are said to be programming language paradigms which of the following isn't a language paradigm.", "choices": [ "
Procedural
", "
Imperative
", "
Declarative
", "
Instance
" ], "answer": 3, "explanation": "Instance is not a recognised programming paradigm." }, { "subtitle": "UML", "question": "UML or Universal Modeling Language is a language created for?", "choices": [ "
Creating database schemas.
", "
Software visualization using diagrams.
", "
Simplifying multi language software applications.
", "
Integration of cross-platform systems on one network.
" ], "answer": 1, "explanation": "UML is used for software modeling in diagram form including Class diagrams, Object diagrams and Use case diagrams among others." } ], "tests": [], "challengeType": 8 }, { "id": "5a91690fa9178457a6f12820", "title": "CSS questions part 1", "description": [ { "subtitle": "Elements properties", "question": "Which properties do inline elements not possess under normal document flow.", "choices": [ "
overflow, left or right margins
", "
border-radius, z-index
", "
font-size, animation
", "
width, top or bottom margins
" ], "answer": 3, "explanation": "An inline element will only take up the width of the inner content." }, { "subtitle": "CSS rules", "question": "What will the following css rule select?\n
.test > div {\n...\n}
", "choices": [ "
Selects all divs within elements with the class of test.
", "
Selects all divs outside of elements with the class of test.
", "
Selects only divs that are immediate children of elements with the class of test.
", "
This would not be considered a valid selector.
" ], "answer": 2, "explanation": "eg: \n
<div class='test'>\n<div class='box'>\n<div class='content'>...</div>\n</div>\n<div class='box'>\n<div class='content'>...</div>\n</div>\n</div>
\n\nWould target only the elements with a class of 'box' as these are the direct children of 'test'." }, { "subtitle": "Overriding properties", "question": "Which keyword would you add to the end of a style rule to override another Css style for a specific element ?", "choices": [ "
*override
", "
*overrideAll
", "
!vital
", "
!important
" ], "answer": 3, "explanation": "For example if you wanted all the paragraph tags in a specific class to have the colour blue instead of black\n
.myClass p  {\ncolor: blue !important\n}
" }, { "subtitle": "Preprocessor CSS", "question": "Which is not considered a Css preprocessor?", "choices": [ "
Less
", "
Sass
", "
Stylus
", "
Express
" ], "answer": 3, "explanation": "Express is an application framework for Node.js" }, { "subtitle": "CSS Box Model", "question": "Which is not a property of the Css 'Box Model'?", "choices": [ "
Border
", "
Padding
", "
Margin
", "
Outline
" ], "answer": 3, "explanation": "Content is the fourth property of the box model not outline." }, { "subtitle": "CSS positioning", "question": "Absolute positioning in Css removes an element from the normal document flow true/false?", "choices": [ "
true
", "
false
" ], "answer": 0, "explanation": "Giving an element absolute positioning removes it from the normal document flow completely allowing positioning attributes top, left, bottom." }, { "subtitle": "CSS selector", "question": "With this Css Selector it is possible to select every element in a document.", "choices": [ "
Body
", "
Universal
", "
Wildcard
", "
SelectAll
" ], "answer": 1, "explanation": "The Universal selector will select every element on a page and is denoted by *{}. note: The rule of specificity still applies, so a more specific selector can override the universal selector in a Css document." }, { "subtitle": "Font size in CSS", "question": "Which is not a valid Css font size?", "choices": [ "
em
", "
%
", "
tp
", "
px
" ], "answer": 2, "explanation": "tp is not valid this should be pt." }, { "subtitle": "CSS clear property", "question": "The Css 'clear' property fulfills which task?", "choices": [ "
Allows transparency of an element.
", "
Prevents prior properties of the selector from taking effect.
", "
Positions an element clear of a siblings margins and borders.
", "
Sets which sides of an element floating elements are not allowed to be floated.
" ], "answer": 3, "explanation": "The clear property has the following values available: both, left, right, inherit, initial and none." }, { "subtitle": "CSS sudo-class", "question": "An example of a sudo-class of a ul element written in Css would be defined?", "choices": [ "
ul:first-child
", "
ul..first-child
", "
ul::first-child
", "
ul first-child
" ], "answer": 0, "explanation": "First answer : Would be correct of a sudo-class.
Second answer : Would be an error of syntax.
Third answer: The double colon would be an example of a sudo element used with the likes of ::before and ::after which are examples of content.
Fourth answer : This would relate to html tag elements of which there is no first-child tag." } ], "tests": [], "challengeType": 8 }, { "id": "5a91a167a9178457a6f12821", "title": "CSS questions part 2", "description": [ { "subtitle": "CSS selector", "question": "An entire Css selector and declaration block whithin a Css document eg:
.container div p {
position: relative;
width: 300px;
margin: auto;
color: #ffffff;
}

is referred to as?", "choices": [ "
Base-Block
", "
Selection Properties
", "
Selector Group
", "
Ruleset
" ], "answer": 3, "explanation": "The selectors name and properties are collectively called a Ruleset." }, { "subtitle": "CSS Browser compatibility", "question": "Which is not a valid Css prefix to ensure browser compatibility?", "choices": [ "
-webkit-
", "
-win-
", "
-moz-
", "
-o-
" ], "answer": 1, "explanation": "-win- is incorrect, -webkit- (Chrome, Safari, ioS and modern versions of Opera), -moz- (Firefox), -o- (Older versions of Opera), the other would be -ms- used for (IE and Microsoft Edge)." }, { "subtitle": "CSS 'text-transform' property", "question": "The Css property 'text-transform' is mainly used for?", "choices": [ "
Alteration of text letter case.
", "
Changing the alignment of text.
", "
Increase/Decrease font size.
", "
Transformation of font family.
" ], "answer": 0, "explanation": "The values for the property 'text-transform' are, capitalize, full-width, inherit, lowercase, none and uppercase." }, { "subtitle": "CSS font-sizes", "question": "If the default font size for a page is 12px, What is the pixel equivalent of 1.5em?", "choices": [ "
12.5px
", "
9px
", "
18px
", "
6px
" ], "answer": 2, "explanation": "1em is equivalent to the base or default font size therefore (12 * 1.5 = 18)." }, { "subtitle": "CCSS font weight", "question": "In Css 'font-weight: bold;' is the same as?", "choices": [ "
font-weight: 400;
", "
font-weight: 900
", "
font-weight: 700
", "
font-weight: 500
" ], "answer": 2, "explanation": "The keyword 'bold' is the same as the numerical value 700." }, { "subtitle": "CSS ruleset", "question": "Given this ruleset
.testDiv {
width: 20%;
height: 20%;
content: 'add this text'
}

What would happen with the content properties text?", "choices": [ "
Nothing
", "
Appended to any text contained in element with class of testDiv.
", "
Prepended to any text contained in element with class of testDiv.
", "
Overwrite any text contained in element with class of testDiv.
" ], "answer": 0, "explanation": "Nothing would appear on the page, the content property needs to be used with sudo elements like ::after or ::before eg:
.testDiv {
width: 20%;
height: 20%;\n}\n.testDiv::after {\ncontent: 'add this text'\n}
" }, { "subtitle": "CSS match selector", "question": "What would the following Css selector match?
section + p", "choices": [ "
All <section> and <p> tags.
", "
All <p> tags within a <section> tag.
", "
All <p> tags placed immediately after a <section> tag.
", "
Not a valid selector.
" ], "answer": 2, "explanation": "
<p>First Paragraph</p>
<section>...</section>
<p>Second Paragraph</p>
<p>Third Paragraph</p>

Only the second paragraph tag will be selected and matched." }, { "subtitle": "How to incorporte CSS into web document", "question": "How many different ways is it possible to incorporate Css into a web document?", "choices": [ "
1
", "
2
", "
3
", "
4
" ], "answer": 2, "explanation": "Currently Css can be used 'Inline' as a style attribute of an Html element, 'Embedded' in a style tag of a document and 'Imported' as an external file with the link tag element." }, { "subtitle": "Using target in css", "question": "What would [role=contentinfo] {...} target in Css?", "choices": [ "
Any element with the role attribute of contentinfo.
", "
Any element within a <span> tag.
", "
Any element within a <span> tag with the role attribute of contentinfo.
", "
This would only be valid using Sass or Scss.
" ], "answer": 0, "explanation": "The square bracket notation is used to target elements with specific attributes." }, { "subtitle": "CSS positioning", "question": "Which is not a value for 'position' in css?", "choices": [ "
Absolute
", "
Static
", "
Responsive
", "
inherit
" ], "answer": 2, "explanation": "There is no such positioning as responsive, currently there is (absolute, fixed, inherit, relative and static)." } ], "tests": [], "challengeType": 8 }, { "id": "5a91b5bfa9178457a6f12822", "title": "Javascript questions part 1", "description": [ { "subtitle": "JavaScript Array method", "question": "which of the following is not an Array method?", "choices": [ "
pop()
", "
unshift()
", "
split()
", "
every()
" ], "answer": 2, "explanation": "split() is a string method
pop() removes from the end of an array
unshift() adds to the front of an array
and every() returns a true or false value for each element in an array." }, { "subtitle": "JavaScript ES6 feature", "question": "ES6 Arrow functions written on one line require no return statement.", "choices": [ "
True
", "
False
" ], "answer": 0, "explanation": "True" }, { "subtitle": "JavaScript strict syntax", "question": "Where is the correct place to insert the \"use strict\" expression.", "choices": [ "
Before declaring a variable
", "
At the start of a script or function
", "
It is used inline within an HTML element
", "
Within a Css selector
" ], "answer": 1, "explanation": "The \"use strict\"; expression should be placed at the start of a script for global scope or\nwithin a function for local scope." }, { "subtitle": "JavaScript equality", "question": "The following code will output?
const x = '7'
const y = 7
console.log(x == y)
", "choices": [ "
true
", "
false
", "
NaN
", "
undefined
" ], "answer": 0, "explanation": "true, if triple equals '===' was used it would then evaluate to false." }, { "subtitle": "JavaScript modules", "question": "In which of the following can you expect to see the require() function?", "choices": [ "
Vanilla Javascript
", "
React.js
", "
Node.js
", "
Jquery
" ], "answer": 2, "explanation": "require() is built into Node.js in order to load modules for use with an application." }, { "subtitle": "JavaScript recursive methods", "question": "What is the main function or job of a 'base case' in a typical recursive method ?", "choices": [ "
To reduce the algorithm complexity of the function.
", "
To terminate the recursion.
", "
To keep track of each invocation of the function on the stack.
", "
To return null.
" ], "answer": 1, "explanation": "To allow the recursive function to terminate and inititate the popping off of the stack of each function call pushed upon it." }, { "subtitle": "JavaScript framework", "question": "In which Javascript framework will you find the ng style of attributes?", "choices": [ "
Jquery
", "
React
", "
Angular
", "
Ember
" ], "answer": 2, "explanation": "The ng- style prefix is used to denote an angularJS directive." }, { "subtitle": "JavaScript syntax", "question": "The following code will return 24 true or false?
function multiply(num1, num2) {
return
num1 * num2;
}
multiply(4,6)
", "choices": [ "
True
", "
False
" ], "answer": 1, "explanation": "The function will return undefined before it reaches the multiplication of the two arguments." }, { "subtitle": "JavaScript callback", "question": "A callback function is also known as?", "choices": [ "
Loopback function
", "
Higher-order function
", "
Recursive function
", "
Pure Function
" ], "answer": 1, "explanation": "Also Known as a Higher-order function a callback function can be passed to another function as a parameter and is called inside that function." }, { "subtitle": "JavaScript syntax, again", "question": "Javascript is case sensitive true or false?", "choices": [ "
true
", "
false
" ], "answer": 0, "explanation": "true" } ], "tests": [], "challengeType": 8 }, { "id": "5a92c913a9178457a6f12823", "title": "Javascript questions part 2", "description": [ { "subtitle": "JavaScript pop up", "question": "Which is not a pop up box in JavaScript", "choices": [ "
Confirm Box
", "
Alert Box
", "
Message Box
", "
Prompt Box
" ], "answer": 2, "explanation": "Message Box." }, { "subtitle": "JavaScript Loops", "question": "Which of the following is not a looping format in javascript", "choices": [ "
For
", "
While
", "
Next
", "
Do-While
" ], "answer": 2, "explanation": "Next is not a loop available in javascript." }, { "subtitle": "JavaScript types", "question": "What is the result of the following code?\nconsole.log( 4 + 4 + \"2\" );", "choices": [ "
\"82\"
", "
10
", "
82
", "
\"10\"
" ], "answer": 0, "explanation": "The first two integers will be added as normal then the string will be concatenated to the result of 8 giving \"82\"." }, { "subtitle": "JavaScript types", "question": "What is the result of the following code?\nconsole.log( \"3\" + 6 + 6 );", "choices": [ "
15
", "
\"15\"
", "
\"366\"
", "
366
" ], "answer": 2, "explanation": "As the equation begins with a string, each integer will be converted and appended in string form giving \"366\"" }, { "subtitle": "JavaScript Event loop", "question": "Which best describes the function of the Javascript event loop?", "choices": [ "
To Handle synchronous code one line at a time in the main script.
", "
To remove any blocking functions accidentally pushed on to the call stack.
", "
To constantly monitor if the call stack is empty and then invoke any asynchronous functions from the event queue.
", "
A mechanism to best decide how to terminate any looping structure.
" ], "answer": 2, "explanation": "Briefly the event loop constantly runs to monitor state between the callstack, the event table and the event queue. When asynchronous code is executed it\nis placed on to the event table only to be executed as and when a specific event occurs, when it does it is then placed on the event queue until the call\nstack is empty then when invoked, moved from the queue to the callstack." }, { "subtitle": "JavaSript type", "question": "console.log(typeof(NaN)) Will log?", "choices": [ "
false
", "
null
", "
number
", "
undefined
" ], "answer": 2, "explanation": "Despite standing for Not a Number NaN is still regarded as a numeric type." }, { "subtitle": "JavaScript ES6 operators", "question": "What will the following log?
let x = 'teststring';
console.log([...x]);
", "choices": [ "
[\"t\",\"e\",\"s\",\"t\",\"s\",\"t\",\"r\",\"i\",\"n\",\"g\"]
", "
uncaught syntax error
", "
[\"teststring\"]
", "
t e s t s t r i n g
" ], "answer": 0, "explanation": "The spread syntax introduced in es6 can be used to iterate through each character of a string, and here stored in an array similar to calling x.split(\"\")" }, { "subtitle": "ES6 let / const declarations", "question": "What will the following code log?
function myFunction() {
const a = 'variableA'
if( 3 > 1) {
let b = 'variableB'
}
console.log(a)
console.log(b)
}
myFunction();
", "choices": [ "
variableA, variableB
", "
variableA
", "
variableB, variableA
", "
variableA, Uncaught ReferenceError: b is not defined
" ], "answer": 3, "explanation": "Due to the keywords let and const being block scoped rather than just locally function scoped like var, the variable b will be garbage collected after the\nconditional if statement has finished and will no longer exist for the console.log() method." }, { "subtitle": "JavaSript function arguments", "question": "The following code will return?
function getsum(num1 = 1, num2 = 1) {
return num1 + num2;
}
getsum(3);
", "choices": [ "
4
", "
6
", "
2
", "
5
" ], "answer": 0, "explanation": "Due to only one argument being passed this will override the first default parameter giving num1 the value of 3 + num2 default value of 1.\nIf the function were to be executed without any arguments at all both defaults would be used and return 2." }, { "subtitle": "JavaSript inheritance", "question": "All Javascript objects inherit properties and methods from a class true or false?", "choices": [ "
true
", "
false
" ], "answer": 1, "explanation": "Due to only one argument being passed this will override the first default parameter giving num1 the value of 3 + num2 default value of 1.\nIf the function were to be executed without any arguments at all both defaults would be used and return 2." } ], "tests": [], "challengeType": 8 }, { "id": "5a933ce3a9178457a6f12824", "title": "Networking questions part 1", "description": [ { "subtitle": "Address identification", "question": "00:26:2D:55:42:1f is an example of what?", "choices": [ "
MAC Address
", "
IPv4 Address
", "
IPv6 Address
", "
A wireless protocol
" ], "answer": 0, "explanation": "A valid MAC Address." }, { "subtitle": "OSI networking model", "question": "Which one of the following is not part of the seven layer OSI networking model.", "choices": [ "
Application
", "
Presentation
", "
Session
", "
Protocol
", "
Network
", "
Data Link
", "
Physical
" ], "answer": 3, "explanation": "Protocol is not part of the OSI networking model layer 4 should be the transport layer." }, { "subtitle": "RAID", "question": "In networking a RAID implementation relates to?", "choices": [ "
Wireless standards
", "
Password policies
", "
Remote access
", "
Fault tolerance
" ], "answer": 3, "explanation": "RAID stands for Redundant array of inexpensive disks and is a model that allows servers to\nendure the failure of one or more hard disks without interuption to services and resources." }, { "subtitle": "Server status", "question": "Your console or terminal throws up a 404 error, this means?", "choices": [ "
Upgrade required
", "
Not found
", "
Gateway Timeout
", "
No Response
" ], "answer": 1, "explanation": "This error informs you that an internal or external resource has not been found and can not be loaded into a page or application." }, { "subtitle": "Server Status, again", "question": "Your console or terminal throws up a 500 error, this means?", "choices": [ "
Internal Server Error
", "
Proxy Authentication Required
", "
Upgrade Required
", "
Too Many Requests
" ], "answer": 0, "explanation": "A generic error message which refers to an error on the webserver when no precise detail is available." }, { "subtitle": "HTTP methods", "question": "GET and POST are important HTTP request methods which of the following list are Not an example of an HTTP request method?", "choices": [ "
HEAD
", "
PUT
", "
BODY
", "
DELETE
" ], "answer": 2, "explanation": "HEAD is similar to the Get method but returns no response body, PUT is used to replace and update a specified resource, DELETE will delete a resource,\nthere is no such method as a BODY request." }, { "subtitle": "Loopback", "question": "In networking which of the following is considered to be a loopback ip address or 'localhost'?", "choices": [ "
172.0.0.1
", "
127.0.0.1
", "
10.0.0.0
", "
192.168.0.0
" ], "answer": 1, "explanation": "127.0.0.1 is the loopback address or localhost, option a is an example of a public address and options c and d are examples of private network addresses." }, { "subtitle": "Network & Security Architecture", "question": "Ring, Star, Mesh and Bus are all examples of?", "choices": [ "
Network topologies
", "
Security Protocols for mobile development
", "
Restful API's
", "
File server storage methods
" ], "answer": 0, "explanation": "A network topology is a logical and physical layout of how the network appears to the devices using it." } ], "tests": [], "challengeType": 8 }, { "id": "5a933d04a9178457a6f12825", "title": "Networking questions part 2", "description": [ { "subtitle": "Default port for FTP", "question": "In attempting to connect to an FTP (File Transfer Protocol) server and failing, which port can you check is open to troubleshoot the connection issue?", "choices": [ "
25
", "
443
", "
23
", "
21
" ], "answer": 3, "explanation": "Port 21 is traditionally used as the default port on a system for FTP." }, { "subtitle": "Network types", "question": "Which of the following is not a type of network?", "choices": [ "
LAN
", "
MAN
", "
PAN
", "
NAN
" ], "answer": 3, "explanation": "NAN is not a current network type. LAN (Local Area Network), MAN (Metropolitan Area Network), PAN (Personal Area Network)." }, { "subtitle": "Subnet mask usage", "question": "What is a subnet mask used for?", "choices": [ "
To hide the id of a wireless access point.
", "
To identyfy the extended and host address.
", "
To encrypt the broadcasting of ip addresses.
", "
To connect to a vpn.
" ], "answer": 1, "explanation": "A subnet mask is used along side an IP address in order to isolate the extended or 'subnet' of the network address and the host machine address." }, { "subtitle": "Network acronym", "question": "What does NIC stand for?", "choices": [ "
Network Isolated Connection
", "
Network Interconnect Cables
", "
Network Interface Card
", "
Network Interference Cause
" ], "answer": 2, "explanation": "A Network Interface Card or (Network Interface Controller) is a hardware component that connects to a Pc or printer in order to\nconnect and be identified on a network." }, { "subtitle": "Default gateway", "question": "A 'default gateway' provides a way for a local network to connect to a larger external network true or false?", "choices": [ "
true
", "
false
" ], "answer": 0, "explanation": "True this is usually the address of of an external router or switch." }, { "subtitle": "The ipconfig commad", "question": "'ipconfig' is used for?", "choices": [ "
Reassigning ip addresses.
", "
Tool for masking ip adresses.
", "
Monitoring network traffic.
", "
Identify address information of a machine on a network.
" ], "answer": 3, "explanation": "ipconfig or ifconfig(linux) is a utility for gaining various address information of a computer on a network." }, { "subtitle": "Network terminology", "question": "The term 'Latency' refers to?", "choices": [ "
The logical state of a network.
", "
A loss of data expected in transfer over a network.
", "
A measure of time delay between request and response experienced by a system.
", "
The scope for expanding a network.
" ], "answer": 2, "explanation": "Latency can affect host to host transfers http requests etc." }, { "subtitle": "Network terminology, again", "question": "The term 'full duplex' refers to?", "choices": [ "
Two way data transfer but not at the same time.
", "
Two way data transfer simultaneously.
", "
One way data transfer at high speed.
", "
One way data transfer with encryption
" ], "answer": 1, "explanation": "An example of full duplex would be like a telephone conversation between two people." } ], "tests": [], "challengeType": 8 } ] }