Module 2 - Short Quiz

Quiz
•
Computers
•
University
•
Hard

Vilchor Perdido
Used 1+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Given the expression:
$_end_result = (3 % 3) ** 0;
What are the operators?
=, %, and **
( ), % and **
( ) and **
=, ( ), %, and **
% only
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Comparison and Arithmetic operators are examples of what type of PHP category form?
Binary operator
Unary operator
Ternary operator
Both Unary and Binary
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Given the equation:
$_end_result = (10 % 3) ** 0;
What is the value of $_end_result?
1
0
3
Math error or undefined
4.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
Given the equation:
$kilometer = 1024 / 1000;
What do you call the part of the equation indicating the numbers 1024 and 1000?
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Given the expression:
$xyz = $xyz / 13;
How do you write in shorthand form?
$xyz /= 13
$xyz =/ 13
$xyz / 13
$xyz = 13
6.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Given the PHP code snippet:
$a = 22; $b = 9; $c = "13";
$d = $a - $b;
$xyz = ($d === $c);
What is the value of $xyz?
False
True
-1
1
0
7.
FILL IN THE BLANK QUESTION
3 mins • 2 pts
Given the PHP code snippet:
$a = 32; $b = 8;
$xyz = (($a / $b) != (2 * 2)) xor (($b % 10) <= ($a / 4));
What is the value of $xyz?
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
MVC Framework

Quiz
•
University
20 questions
Latihan html dan css

Quiz
•
KG - University
20 questions
Data Structures

Quiz
•
University
15 questions
DASPRO RESPONSI - 1

Quiz
•
University
16 questions
Informática VI - Segundo Parcial

Quiz
•
University
15 questions
QUIZ-5: MYSQL & File Handling

Quiz
•
University
20 questions
การพัฒนาเว็บเพจด้วยภาษา PHP

Quiz
•
University
19 questions
Web Development Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University