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