Deck 4: XML, PHP, and Programming Concepts
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/25
Play
Full screen (f)
Deck 4: XML, PHP, and Programming Concepts
1
XML is neither a presentation language nor a programming language.
A)true
B)false
C)both
D)none of these
A)true
B)false
C)both
D)none of these
true
2
In XML we can define/create the tags according to your need.
A)true
B)false
C)both
D)none of these
A)true
B)false
C)both
D)none of these
true
3
______is designed to read the XML and create a way for programs to use XML.
A)XML PERSOR
B)CSS
C)XML-TREE
D)None of these
A)XML PERSOR
B)CSS
C)XML-TREE
D)None of these
XML PERSOR
4
An_________starts at a root element and branches from the root to child elements.
A)XML PERSOR
B)CSS
C)XML-TREE
D)None of these
A)XML PERSOR
B)CSS
C)XML-TREE
D)None of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
The abs() function returns the absolute (positive) value of a number:
A)true
B)false
C)both a and b
D)none of these
A)true
B)false
C)both a and b
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
the sqrt() function returns the square root of a number:
A)true
B)false
C)both a and b
D)none of these
A)true
B)false
C)both a and b
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
The round() function rounds a floating-point number to its nearest integer:
A)true
B)false
C)both a and b
D)none of these
A)true
B)false
C)both a and b
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
The rand() function generates a random number:
A)true
B)false
C)both a and b
D)none of these
A)true
B)false
C)both a and b
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
________ is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
A)PHP
B)java script
C)Angular js
D)none of these
A)PHP
B)java script
C)Angular js
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
_______ is a object oriented programming language , it is used to create the object…
A)PHP
B)java script
C)Angular js
D)none of these
A)PHP
B)java script
C)Angular js
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
A ________ script can be placed anywhere in the document.
A)PHP
B)java script c
C)Angular js
D)none of these
A)PHP
B)java script c
C)Angular js
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
The default file extension for PHP files is _________
A).PHP
B).js
C).Ajs
D)none of these
A).PHP
B).js
C).Ajs
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
__________ is used to show the out put …or give message..same as printf in c language…
A)Echo
B)java script
C)Angular js
D)none of these
A)Echo
B)java script
C)Angular js
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
A PHP script starts with <?php and ends with ?>: <?php // PHP code goes here ?>
A)true
B)false
C)both a and b
D)none of these
A)true
B)false
C)both a and b
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
PHP code is executed on the server, and the result is returned to the browser as plain HTML
A)true
B)false
C)both a and b
D)none of these
A)true
B)false
C)both a and b
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
PHP files can contain text, HTML, CSS, JavaScript, and PHP code
A)true
B)false
C)both a and b
D)none of these
A)true
B)false
C)both a and b
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
A)true
B)false
C)both a and b
D)none of these
A)true
B)false
C)both a and b
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
PHP is compatible with almost all servers used today (Apache, IIS, etc.)
A)true
B)false
C)both a and b
D)none of these
A)true
B)false
C)both a and b
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
PHP supports a ___________ range of databases
A)wide
B)small
C)short
D)none of these
A)wide
B)small
C)short
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
PHP supports the following data types:
A)String
B)Integer
C)Float (floating point numbers - also called double)
D)all of the above .
A)String
B)Integer
C)Float (floating point numbers - also called double)
D)all of the above .
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
PHP divides the operators in the following groups:
A)Increment/Decrement operators
B)Logical operators
C)String operators
D)all of the above
A)Increment/Decrement operators
B)Logical operators
C)String operators
D)all of the above
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
The basic assignment operator in PHP is __________ It means that the left operand gets set to the value of the assignment expression on the right.
A)(=)
B)(++)
C)(==)
D)(?)
A)(=)
B)(++)
C)(==)
D)(?)
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
the _________ statement is used to perform different actions based on different conditions
A)switch
B)if condition
C)foreach
D)while
A)switch
B)if condition
C)foreach
D)while
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
In php, A ___________ is a block of statements that can be used repeatedly in a program.
A)function
B)procedure
C)block
D)loop
A)function
B)procedure
C)block
D)loop
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
In php A function will not execute automatically when a page loads.
A)true
B)false
C)both a and b
D)none of these
A)true
B)false
C)both a and b
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck