M1 Flashcards

1
Q

PHP was developed by

A

Rasmus Lerdorf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

PHP 1.0 year:

A

1994/1995

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

purpose of developing PHP

A

to know how many visitors were reading his online resume based on PERL/CGI script

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

PHP =

A

Personal Home Page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

PHP 2.0 year:

A

1997

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

PHP is based on _______ rather than _______

A

C, PERL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Personal Home Page / _______ _________

A

Form Interpreter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

PHP 3.0 year:

A

1998

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

________ users were using PHP to enhance their web pages (PHP 3.0)

A

50,000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When did developers joined Lerdorf?

A

PHP 3.0 - 1998

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

PHP 4.0 year:

A

1999
May 22, 2000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Two core developers:

A

Zeev Suraski
Andi Gutmans

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

PHP makes the most popular scripting language with more than one million user base by _______.

(what version?)

A

Netcraff
PHP 4.0, 1999

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

PHP version wherein hundreds of of functions were being added

A

PHP 4.0, 1999

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

recursive acronym of PHP

A

Hypertext Preprocessor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

how many domain PHP installed

A

3.6 million

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

PHP 5.0 year:

A

July 13, 2004

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

which version Vastly improved object-oriented capabilities: OOP improvement

A

PHP 5.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

which version included try/catch exception handling

A

PHP 5.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Improved _____ and _______ support

A

XML, Web Services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

PHP 5.0 installed on how many domains

A

19 million

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

______ percent on all ______ module

A

54, Apache

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

PHP 6.0 year:

A

2007

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

T/F PHP 6.0 was then officially released.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Native Unicode support for multilingual applications

A

Unicode Support

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

improvements in PHP 6.0

A

Security improvements
New language features and constructs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

PHP Key categories:

A

Practicality
Power
Possibility
Price

28
Q

Key category:

PHP is a loosely type language (no explicitly create, typecast, or destroy a variable)

A

Practicality

29
Q

Key category:

More libraries and thousands of functions

A

Power

30
Q

Key category:

Native support is offered for more than 25 database products
Both structured and Object Oriented approach

A

Possibility

31
Q

Key category:

Free of charge

A

Price

32
Q

OS: Linux

A

ubuntu
debian
linux mandrake
suse
fedora
centOS
kubuntu

33
Q

OS: Windows

A

windows xp
windows me
windows server 2008
windows 7
windows 8
windows 2000

34
Q

OS: Mac

A

cheetah
puma
jaguar
leopard
snow leopard
lion
tiger
panther

35
Q

Internet browsers:

A

google chrome
mozilla firefoz
internet explorer
opera
safari
maxthon
rockmelt
seamonkey
deepnet explorer
avant browser

36
Q

Web servers:

A

apache
iis7 (internet information services)
nginx
google web server (gws)

37
Q

Server side scripting language:

A

java
ruby
active server pages
python
perl cgi

38
Q

Database:

A

ibm db2
mysql
sql server
sqlite
postgresql
oracle

39
Q

Code editor:

A

aptana
eclipse
bluefish
dreamweaver
netbeans
notepad++

40
Q

Other requirements:

A

html
css
ajax
javascript
jquery

41
Q

All PHP scripts must be enclosed with:

A

<?php … ?> (standard tag)
<? … ?> (short open tag)
<script language=“php”>
….
</script> (script tag)
<% … %> (asp style tag)

42
Q

a language construct
that use to output one or more
string

A

echo

43
Q

is a function also use for
outputting strings

A

print

44
Q

single line comment - PERL style

A

#

45
Q

multi line comment

A

/*


*/

46
Q

used as a container for values that can be used and manipulate PHP scripts

A

variables

47
Q

Variables in PHP must begin with

A

$

48
Q

Allowed first character of a variable:

A

“_” or letter

48
Q

T/F Variables in PHP is not explicitly declared

A

True

48
Q

T/F Variables are not case sensitive

A

False

49
Q

Strings inside the _______ are interpreted as literal strings

A

’ … ‘

49
Q

Strings inside the _______ are interpreted as literal strings with some exceptions

A

” … “

50
Q

To concatenate string values use the ____

A

.

51
Q

%b

A

(int) binary

52
Q

%c

A

(int) character - ASCII

53
Q

%d

A

(int) signed decimal

54
Q

%f

A

(float) floating-point

55
Q

%o

A

(int) octal

56
Q

%s

A

(str) string

57
Q

%u

A

(int) unsigned decimal

58
Q

%x

A

(int) lowercase hexadecimal

59
Q

%X

A

(int) uppercase hexadecimal

60
Q

the generic name assigned to any data sharing a common set of characteristics.

A

datatypes

61
Q

Capable of containing a single item of information
(Boolean, Integer, Float (float, double or real numbers), String)

A

scalar datatypes

62
Q

allow for multiple items of the same type to be aggregated under a single representative entity.
(Array and Objects)

A

compound datatypes

63
Q

function that returns the type of the variable. Possible return values are integer, double, boolean, string, array, object, resource, unknown types.

A

gettype()

64
Q

function that converts a given variable to a specific type.

A

settype()