
WP (22 Jun)
Quiz
•
Computers
•
1st - 5th Grade
•
Practice Problem
•
Easy
Maneskin Rider
Used 1+ times
FREE Resource
Enhance your content in a minute
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
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
breakstatement is encountered, which terminates the loop completely.When $i is equal to 2019, the
continuestatement 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
Evaluación 1er Parcial M3S1
Quiz
•
2nd Grade
8 questions
Test Informatica final nivel1, C++
Quiz
•
1st Grade
13 questions
Principles of Programming
Quiz
•
KG - University
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
12 questions
Class-2 Ch-7
Quiz
•
2nd Grade
10 questions
แบบทดสอบก่อนเรียน เรื่อง โปรแกรมประมวลผลคำ Microsoft Word 2016
Quiz
•
3rd Grade
10 questions
CAD Basics
Quiz
•
5th - 12th Grade
12 questions
Design&Technology
Quiz
•
4th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
