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