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

2.
What is the meaning of HTML
A.
Hp Techno Lang Tags
B.
HyperText Markup Language
C.
Hypo Tech Mark League
D.
HiTech Make Language
Reveal Answer
HyperText Markup Language

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

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

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

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 small-sized 4-pixel-wide column.
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.

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

8.
What is the purpose of the 'alt' attribute in the 'img' tag?
A.
To provide an alternative image if the original fails to load.
B.
To link the image to another webpage.
C.
To style the image.
D.
To provide alternative text for screen readers.
Reveal Answer
To provide an alternative image if the original fails to load.

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

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

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

12.
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.
file=\'app.js\'
D.
href=\'app.js\'
Reveal Answer
src='app.js'

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

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

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

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

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

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

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

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

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

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.