Web Design (Final Examination) Copy
Quiz Summary
0 of 30 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 30 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 30
1. Question
Question 1
What will be the output of the following code?
function x(){
console.log(“This will be displayed”);
y()
}function y(){
console.log(“You called me”);
}
y()CorrectIncorrect -
Question 2 of 30
2. Question
Question 2
Which of the following will return a random integer number in the range 4 – 30?CorrectIncorrectHint
Note: Both 4 and 30 should be included.
-
Question 3 of 30
3. Question
Question 3
If var x = 7; What is the output of the following? console.log(++x – x-- + 2*x);
CorrectIncorrect -
Question 4 of 30
4. Question
Question 4
var x = 12
var y = 13
if(x >= 12 && y < x){
console.log(“show me”);
}
else {
console.log(“hide me”);
}
Which of the following is true?CorrectIncorrect -
Question 5 of 30
5. Question
Question 5
console.log(5 == ’5’)
The above will display what on the console?CorrectIncorrect -
Question 6 of 30
6. Question
Question 6
console.log(5 == ’5’)
The above will display what on the console?CorrectIncorrect -
Question 7 of 30
7. Question
Question 7
Assume that a div element which has an id of “mydiv” has been created. Which of the following is not a proper way of adding a background-color of red to the div?CorrectIncorrect -
Question 8 of 30
8. Question
Question 8
Assume that a button which has an id of “myb” has been created. Which of the following is not a correct way of adding a click event to the button in JavaScript?CorrectIncorrect -
Question 9 of 30
9. Question
Question 9
What is the interpretation of the code below?
setInterval(function(){
console.log(“go”);
}, 2000);CorrectIncorrect -
Question 10 of 30
10. Question
Question 10
Consider the following ternary operator. What will be displayed?
var x = (4 < 5) ? “no” : “yes”
console.log(x);CorrectIncorrect -
Question 11 of 30
11. Question
Question 11
Which of the following is not a form element?CorrectIncorrect -
Question 12 of 30
12. Question
Question 12
Block elements include the following except?CorrectIncorrect -
Question 13 of 30
13. Question
Question 13
Which of the following tags is used for creating an unordered list?CorrectIncorrect -
Question 14 of 30
14. Question
Question 14
To add a line break, we use?CorrectIncorrect -
Question 15 of 30
15. Question
Question 15
To make a checkbox, which of the following could be used?Kindly take note the “( )” stands for “<>”CorrectIncorrect -
Question 16 of 30
16. Question
Question 16
To specify the path to an external CSS file in your HTML file, which of the following is used?CorrectIncorrect -
Question 17 of 30
17. Question
Question 17
Which of the following is an attribute of the element?CorrectIncorrect -
Question 18 of 30
18. Question
Question 18
Which of the following tags is not self-closing?CorrectIncorrect -
Question 19 of 30
19. Question
Question 19
How can you create rounded corners of 20px using CSS?CorrectIncorrect -
Question 20 of 30
20. Question
Question 20
margin: 10px 20px 25px 12px
From the above, the top margin has a value of what?CorrectIncorrect -
Question 21 of 30
21. Question
Question 21
Consider the following. What is missing?
p {
color: red
text-align: center
}CorrectIncorrect -
Question 22 of 30
22. Question
Question 22
To position an element so that it is always relative to the browser window, we use ?CorrectIncorrect -
Question 23 of 30
23. Question
Question 23
To position an element so that it is always relative to its positioned parent, we use?CorrectIncorrect -
Question 24 of 30
24. Question
Question 24
The space between the content of an element and the border of that element is called?CorrectIncorrect -
Question 25 of 30
25. Question
Question 25
Consider the following
This is a text
To give the paragraph text a background color of purple, which of the following can be used?
CorrectIncorrect -
Question 26 of 30
26. Question
Question 26
To use internal CSS, where are the styles written?CorrectIncorrect -
Question 27 of 30
27. Question
Question 27
Which of the following will give a text color of red in Bootstrap?CorrectIncorrect -
Question 28 of 30
28. Question
Question 28
Which of the following will give an element a property of hidden by default in Bootstrap?CorrectIncorrect -
Question 29 of 30
29. Question
Question 29
In Bootstrap, to give an element a top margin, which of the following classes will be used?CorrectIncorrect -
Question 30 of 30
30. Question
Question 30
Consider the following,
First divSecond divWhich of the following is not correct?
CorrectIncorrect