NEW
Font size
WorksheetsQuiz -3: JavaScript & PHP (AIML)/CC/1st Year
Total questions: 15
Worksheet time: 15mins
.......................is a high-level scripting language that is synchronous with client-side scripting
javaScript
php
oracle
None of these
A ..................... scripting is a light weight programming language
java script
php
oracle
none of these
Client side------does not allow the reading and writing of files.
java script
php
oracle
None of these
In HTML, JavaScript code is inserted between ........... and tags
script
VER
TITLE
None of these
To access an HTML element, JavaScript can use the ........................ method.
document.getElementById(id)
CONSOLE
COUT
none of these
........................ Is used to show the out put or give message
document.write():
printf
COUT
None of these
Which type of JavaScript language is ___
Object-Oriented
Object-Based
Assembly-language
High-level
The "function" and " var" are known as
Keywords
Data types
Declaration statements
Prototypes
What does PHP stand for?
Personal Home Page
Hypertext Preprocessor
Pretext Hypertext Processor
Preprocessor Home Page
What should be the correct syntax to write a PHP code?
< php >
< ? php ?>
<? ?>
</ php />
Who is known as the father of PHP?
Drek Kolkevi
List Barely
Rasmus Lerdrof
Tim Berners-Lee
Variable name in PHP starts with
! (Exclamation)
$ (Dollar)
& (Ampersand)
# (Hash)
Which of the following is used to display the output in PHP?
echo
write
print
Both echo and print
Which of the following is the correct way of defining a variable in PHP?
$variable name = value;
$variable_name = value;
$variable_name = value
$variable name as value;
Which of the following is used to end a statement in PHP?
! (exclamation)
; (semicolon)
/ (slash)
. (dot)
