- Posted By Olusola
- Sat 26, October 2024
- General Term
cfrc-assessment-02
An examination for CRRC staff on the progress of coding and web development progress designed by Folklight Studios. This entails coding class sessions on HTML, CSS, JavaScript, Bootstrap, WordPress, XAMPP, and PHP among others.
Let's Begin:
Enter your nickname to take this exam.
Examination Questions:
CFRC - Assessment 02
Examination.com.ngDuration: 15 minutes
Click on the "Show Answer" button to unveil the correct answers to the questions.
1.
What does the 'box model' in CSS consist of?
A.
Margin, border, padding, content.
B.
Padding, margin, text, image.
C.
Border, image, text, content.
D.
Content, image, header, footer.
Reveal Answer
Margin, border, padding, content.
2.
Which tag is used to create a hyperlink in HTML?
A.
Anchor
B.
Header
C.
Script
D.
Link
Reveal Answer
Anchor
3.
How do you select an element with the class 'container' in CSS?
A.
#container
B.
.container
C.
+container
D.
container
Reveal Answer
.container
4.
What class helps to position an image to the center of a div in bootstrap 5?
A.
mc-auto
B.
mx-auto
C.
me-auto
D.
my-auto
Reveal Answer
mx-auto
5.
How do you add a background color in CSS?
A.
background: blue;
B.
color-background: blue;
C.
background-color: blue;
D.
bgcolor: blue;
Reveal Answer
background-color: blue;
6.
How do you add an event listener to an element in JavaScript?
A.
element.addEventListener(\'click\', function)
B.
element.trigger(\'click\', function)
C.
element.onClick(function)
D.
element.listen(\'click\', function)
Reveal Answer
element.addEventListener('click', function)
7.
What does the 'col-sm-4' class in Bootstrap indicate?
A.
It creates a small column that takes up 4% of the screen width.
B.
It creates a 4-column layout on large devices only.
C.
It creates a small-sized 4-pixel-wide column.
D.
It creates a column that takes up 4/12th of the width on small devices and up.
Reveal Answer
It creates a column that takes up 4/12th of the width on small devices and up.
8.
What is the correct HTML tag for the largest heading?
A.
H1
B.
H2
C.
H5
D.
H6
Reveal Answer
H1
9.
Which of the following is not a default WordPress post type?
A.
Post
B.
Page
C.
Category
D.
Custom Post
Reveal Answer
Custom Post
10.
How do you make a Bootstrap 'div' element with two child-elements of 'col-6' responsive?
A.
Add the \'.row\' class.
B.
Add the \'.responsive\' class.
C.
Use inline styles.
D.
Use media queries.
Reveal Answer
Add the '.row' class.
11.
What is the purpose of the WordPress 'functions.php' file?
A.
To store CSS styles.
B.
To manage posts and pages.
C.
To display the theme\'s layout.
D.
To handle theme functionalities and custom code.
Reveal Answer
To handle theme functionalities and custom code.
12.
Which of the following is the correct html script attribute for referring to an external JavaScript file?
A.
file=\'app.js\'
B.
link=\'app.js\'
C.
href=\'app.js\'
D.
src=\'app.js\'
Reveal Answer
src='app.js'
13.
Which plugin is commonly used for SEO optimization in WordPress?
A.
Yoast SEO
B.
WP Forms
C.
WooCommerce
D.
Jetpack
Reveal Answer
Yoast SEO
14.
How do you declare a variable in JavaScript?
A.
const variableName;
B.
var variableName;
C.
All of the above.
D.
let variableName;
Reveal Answer
All of the above.
15.
What is the purpose of the 'alt' attribute in the 'img' tag?
A.
To style the image.
B.
To link the image to another webpage.
C.
To provide alternative text for screen readers.
D.
To provide an alternative image if the original fails to load.
Reveal Answer
To provide an alternative image if the original fails to load.
16.
What is the default grid system used by Bootstrap?
A.
16-column grid.
B.
12-column grid.
C.
10-column grid.
D.
8-column grid.
Reveal Answer
12-column grid.
17.
Where is the WordPress theme file 'style.css' typically located?
A.
\'/wp-includes/themes/\'
B.
\'/wp-content/plugins/\'
C.
\'/wp-content/themes/your-theme-name/\'
D.
\'/wp-admin/themes/\'
Reveal Answer
'/wp-content/themes/your-theme-name/'
18.
What is the meaning of HTML
A.
Hypo Tech Mark League
B.
Hp Techno Lang Tags
C.
HiTech Make Language
D.
HyperText Markup Language
Reveal Answer
HyperText Markup Language
19.
Which operator is used to compare both value and type in JavaScript?
A.
==
B.
=
C.
===
D.
!=
Reveal Answer
===
20.
Which CSS property is used to change the text color of an element?
A.
color
B.
font-style
C.
text-color
D.
font-color
Reveal Answer
color
21.
Which class would you use to make a Bootstrap button look primary (blue)?
A.
btn-main
B.
btn-blue
C.
btn-default
D.
btn-primary
Reveal Answer
btn-primary
Top Scores:
Here are the top 10 responses for this exam.
| Name | Score | Time Used | |
|---|---|---|---|
| 1 | Akinseli Akin | 21 | 4 min. |
| 2 | dada stella | 5 | 15 min. |
| 3 | Teacher | 3 | 1 min. |