
WP (22 Jun)

Quiz
•
Computers
•
1st - 5th Grade
•
Easy

Maneskin Rider
Used 1+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. CSS stands for _____.
A. Custom Style Sheet
B. Cascading Style Sheet
C. Character Style Sheet
D. Content Style Sheet
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Which HTML tag produces the biggest heading?
A. <HEADER>
B. <h3>
C. <h2>
D. <h1>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Which input control is better suited for allowing users to make single selections?
A. radio button
B. textarea
C checkbox
D image
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4 Which input control is designed to allow users to enter secure information in a way that keeps others from seeing what's typed?
A. text
B. textarea
C. url
D. password
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Current version of HTML is _______?
A HTML 4
B HTML 5
C HTML 4.1
Konek Irfan
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. PHP is a _________.
A. Server side scripting language
B Client side scripting language
C Database programming language
D None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Javascript is a _______
A Server side scripting language
B Client side scripting language
C Database programming language
D None of the above
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
8 Which input control is better suited for allowing users to make multiple selections?
A radio buton
B textarea
C checkbox
D button
9.
OPEN ENDED QUESTION
3 mins • 1 pt
What is the output of the following PHP code segment?
<?php $current=2022;
for($i=$current;$i>2000;$i--)
{ if($i == 2015) break;
if($i == 2019)
continue;
echo 'Current year is: '.$i.'<br>';
}
?>
Evaluate responses using AI:
OFF
Answer explanation
Current year is: 2022
Current year is: 2021
Current year is: 2020
Current year is: 2018
Current year is: 2017
Current year is: 2016
The code starts with the current year set as 2022. It then enters a for loop that iterates from the current year ($i = $current) to the year 2000 ($i > 2000). Inside the loop, there are conditional statements.
When $i is equal to 2015, the
break
statement is encountered, which terminates the loop completely.When $i is equal to 2019, the
continue
statement is encountered, which skips the current iteration and moves on to the next iteration of the loop.For all other years within the loop range, the echo statement is executed, printing the message "Current year is: " followed by the value of $i, and then a line break
<br>
.
Therefore, the output skips the year 2015 due to the break
statement and skips the year 2019 due to the continue
statement, while printing the remaining years from 2022 to 2016.
Similar Resources on Wayground
10 questions
Информатика 11 сынып HTML

Quiz
•
1st - 12th Grade
10 questions
Знайомство з HTML

Quiz
•
1st - 4th Grade
10 questions
Web pages Summary

Quiz
•
4th Grade
6 questions
Computer

Quiz
•
1st - 3rd Grade
10 questions
HTML quiz

Quiz
•
1st - 5th Grade
10 questions
Grade 6 quiz 2

Quiz
•
4th - 7th Grade
10 questions
Making your own Webpage

Quiz
•
5th Grade
10 questions
Y8 HTML Intro

Quiz
•
4th - 5th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade