xam

cfrc-assessment-02

  • Posted By Olusola
  • Sat 26, October 2024
  • General Term

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.ng

Duration: 15 minutes


Click on the "Show Answer" button to unveil the correct answers to the questions.
1.
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 link the image to another webpage.
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.

2.
What is the correct HTML tag for the largest heading?
A.
H2
B.
H6
C.
H5
D.
H1
Reveal Answer
H1

3.
Which operator is used to compare both value and type in JavaScript?
A.
==
B.
=
C.
!=
D.
===
Reveal Answer
===

4.
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

5.
Which of the following is not a default WordPress post type?
A.
Page
B.
Custom Post
C.
Post
D.
Category
Reveal Answer
Custom Post

6.
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 column that takes up 4/12th of the width on small devices and up.
C.
It creates a 4-column layout on large devices only.
D.
It creates a small-sized 4-pixel-wide column.
Reveal Answer
It creates a column that takes up 4/12th of the width on small devices and up.

7.
Where is the WordPress theme file 'style.css' typically located?
A.
\'/wp-content/themes/your-theme-name/\'
B.
\'/wp-content/plugins/\'
C.
\'/wp-admin/themes/\'
D.
\'/wp-includes/themes/\'
Reveal Answer
'/wp-content/themes/your-theme-name/'

8.
How do you make a Bootstrap 'div' element with two child-elements of 'col-6' responsive?
A.
Use inline styles.
B.
Add the \'.responsive\' class.
C.
Add the \'.row\' class.
D.
Use media queries.
Reveal Answer
Add the '.row' class.

9.
Which plugin is commonly used for SEO optimization in WordPress?
A.
WooCommerce
B.
Jetpack
C.
Yoast SEO
D.
WP Forms
Reveal Answer
Yoast SEO

10.
How do you select an element with the class 'container' in CSS?
A.
.container
B.
+container
C.
container
D.
#container
Reveal Answer
.container

11.
Which class would you use to make a Bootstrap button look primary (blue)?
A.
btn-main
B.
btn-default
C.
btn-blue
D.
btn-primary
Reveal Answer
btn-primary

12.
What does the 'box model' in CSS consist of?
A.
Border, image, text, content.
B.
Padding, margin, text, image.
C.
Content, image, header, footer.
D.
Margin, border, padding, content.
Reveal Answer
Margin, border, padding, content.

13.
How do you add an event listener to an element in JavaScript?
A.
element.addEventListener(\'click\', function)
B.
element.trigger(\'click\', function)
C.
element.listen(\'click\', function)
D.
element.onClick(function)
Reveal Answer
element.addEventListener('click', function)

14.
How do you add a background color in CSS?
A.
bgcolor: blue;
B.
color-background: blue;
C.
background: blue;
D.
background-color: blue;
Reveal Answer
background-color: blue;

15.
Which of the following is the correct html script attribute for referring to an external JavaScript file?
A.
src=\'app.js\'
B.
href=\'app.js\'
C.
file=\'app.js\'
D.
link=\'app.js\'
Reveal Answer
src='app.js'

16.
Which CSS property is used to change the text color of an element?
A.
font-style
B.
color
C.
font-color
D.
text-color
Reveal Answer
color

17.
How do you declare a variable in JavaScript?
A.
All of the above.
B.
let variableName;
C.
const variableName;
D.
var variableName;
Reveal Answer
All of the above.

18.
What is the purpose of the WordPress 'functions.php' file?
A.
To manage posts and pages.
B.
To handle theme functionalities and custom code.
C.
To display the theme\'s layout.
D.
To store CSS styles.
Reveal Answer
To handle theme functionalities and custom code.

19.
Which tag is used to create a hyperlink in HTML?
A.
Script
B.
Header
C.
Link
D.
Anchor
Reveal Answer
Anchor

20.
What class helps to position an image to the center of a div in bootstrap 5?
A.
me-auto
B.
mx-auto
C.
mc-auto
D.
my-auto
Reveal Answer
mx-auto

21.
What is the default grid system used by Bootstrap?
A.
8-column grid.
B.
10-column grid.
C.
12-column grid.
D.
16-column grid.
Reveal Answer
12-column grid.

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.