Module1 Flashcards

Memorize

1
Q

At what year/s was PHP at version 1.0?

A

1994/1995

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

Who developed PHP?

A

Rasmus Lerdorf

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

For what purpose did Rasmus Lerdorf develop PHP?

A

To know how many visitors were visiting his online resume.

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

True or False.
PHP 1.0 was based on Ruby/CGI script.

A

False
(Based on Perl/CGI script)

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

What does PHP stand for?

A

PHP: Hypertext Preprocessor

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

At what year/s was PHP at version 2.0?

A

1997

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

At version 2.0, PHP was based on ___ rather than Perl.

A

C

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

This version of PHP served both as a personal home page and as a form interpreter

A

PHP 2.0

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

At what year/s was PHP at version 3.0?

A

1998

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

This version of PHP had 50,000 users were using it to enhance their web pages.

A

PHP 3.0

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

In this version of PHP, developers joined Lerdorf

A

PHP 3.0

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

At what year/s was PHP at version 4.0?

A

1999

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

This version of PHP had Zeev Suraski and Andi Gutmans proved to be core developers.

A

PHP 4.0

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

Who were the core developers for PHP 4.0?

A

Zeev Suraski and Andi Gutmans

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

This version of PHP makes the most popular scripting language with morethan one million user base by Netcraff.

A

PHP 4.0

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

This version of PHP had hundreds of functions added.

A

PHP 4.0

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

This version of PHP was dubbed as the Zend scripting engine.

A

PHP 4.0

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

At what date was PHP: Hypertext Preprocessor released?

A

May 22, 2000

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

This version of PHP had 3.6 million domain PHP installed.

A

PHP: Hypertext Preprocessor (PHP4.0)

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

This version of PHP featured enterprise development.

A

PHP: Hypertext Preprocessor (PHP4.0)

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

This version of PHP showcased new features, power, and scalability.

A

PHP: Hypertext Preprocessor (PHP4.0)

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

At what date was PHP 5.0 released?

A

July 13, 2004

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

This version of PHP featured 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
24
Q

This version of PHP featured try/catch exception handling.

A

PHP 5.0

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

This version of PHP Improved XML and Web Services support (Simple XML Support, using SOAP).

A

PHP 5.0

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

This version of PHP featured native support for SQLite.

A

PHP 5.0

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

This version of PHP was installed on 19 million domains.

A

PHP 5.0

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

This version of PHP had 54 percent on all Apache modules.

A

PHP 5.0

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

This version of PHP featured Unicode Support (Native Unicode support for multilingual applications.

A

PHP 6.0

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

This version of PHP featured security improvements.

A

PHP 6.0

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

This version of PHP had new language features and constructs (64 bit type integer, foreach looping)

A

PHP 6.0

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

What are the Key categories of PHP?

A

(4Ps)
- Practicality
- Power
- Possibility
- Price

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

This key category of PHP states that PHP is a loosely type language (no explicitly create, typecast, or destroy a variable)

A

Practicality
(loosely type language)

34
Q

This key category of PHP states that it has more libraries and thousands of functions.

A

Power
(more libraries)

35
Q

This key category of PHP states that is has native support is offered for more than 25 database products,.

A

Possibility

36
Q

This key category of PHP states that it is free of charge.

A

Price

37
Q

What are examples of Operating System: Linux?

A

(LUDS KFC)
- Linux
- Ubuntu
- Debian
- Suse
- Kubuntu
- Fedora
- Centos

38
Q

What are examples of Operating System: Windows?

A

(XMS 78 2000)
- Windows XP
- Windows Me
- Windows Server 2008
- Windows 7
- Windows 8
- Windows 2000

39
Q

What are examples of Operating System: Mac?

A

(PuPa SLL JTLC)
- Puma
- Panther
- Snow Leopard
- Leopard
- Jaguar
- Tiger
- Lion
- Cheetah

40
Q

What are examples of Internet Browser?

A

(GMOSI SADMR)
- Google Chrome
- Mozilla Firefox
- Opera
- Safari
-Internet Explorer
- SeaMonkey
- Avant Browser
- DeepNet Explorer
- Maxthon
- Rockmelt

41
Q

What are examples of Web Server?

A

(GIAN)
- Google Web Server
- IIS7 (Internet Information Services)
- Apache
- NGINX

42
Q

What are examples of Server side scripting language?

A

(JPR APP)
- Java
- Python
- Ruby
- ASP (Active Server Pages)
- PERL CGI
- PHP

43
Q

What are examples of Database?

A

(MISS PO)
- MySQL
- IBMDB2
- SQL Server
- SQLite
- Postgre
- Oracle

44
Q

What are examples of Code editor?

A

(BEAN DN++)
- Bluefish
- Eclipse
- Aptana
- NetBeans
- Dreamweaver
- Notepad++

45
Q

What are examples of other software requirements?

A

(JJ CHA)
- JavaScript
- JQuery
- CCS
- HTML
- AJAX

46
Q

What is the standard tag for php scripts?

A

<?php…?>

47
Q

What is the short open tag for php scripts?

A

<?…?>

48
Q

What is the script tag for php scripts?

A

<script language=”php>…</script>

49
Q

What is the asp style tag for php scripts?

A

<%…%>

50
Q

True or False.
Only certain php scripts should be enclosed using proper tags.

A

False
(ALL php script should be enclosed with proper tags)

51
Q

The “;” at the end of a line of code for php scripts is called the ______.

A

Statement Terminator

52
Q

_______ is a language construct that use to output one or more string.

A

echo
(language construct)

53
Q

______ is a function also use for outputting strings.

A

print
(also used for outputting strings)

54
Q

What is the symbol for a single line comment?

A

//

55
Q

What is the symbol for a PERL style single line comment?

A

#

56
Q

What is the symbol for multi-line or block comments?

A

/…./

57
Q

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

A

Variables

58
Q

Variables in PHP must begin with a __ symbol.

A

$

59
Q

True or False.
Variable might contain a string, numbers, arrays and objects.

A

True

60
Q

What are the rules for setting the identifier of a variable?

A
  • First character can be ‘_’ or a letter.
  • Can only contain alpha-numeric characters and underscore (a-z,A-Z,0-9,_).
  • Don’t use white space in naming a variable.
61
Q

What is the output of the code below if $name = “Juan”.

<?php echo “$name’s Store”?>

A

Juan’s Store

62
Q

What is the output of the code below if $name = “Juan”.

<?php echo ‘$name’s Store’?>

A

Error
($name's, apostrophe should have backslash)

63
Q

What is the output of the code below if $name = “Juan”.

<?php echo ‘$name's Store’?>

A

$name’s Store

64
Q

What is the output of the code below if $name = “Juan”.

<?php echo “$name’s Store”?>

A

$name’s Store

65
Q

What is the output of the code below if $name = “Juan”.

<?php echo “$name’s”.”Store”?>

A

Juan’sStore

66
Q

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

A

Datatypes

67
Q

This kind of datatype is capable of containing a single item of information.

A

Scalar Datatypes

68
Q

Boolean, Integer, Float (float, double or real numbers), and String are examples of what kind of datatype?

A

Scalar Datatypes

69
Q

This kind of datatype allows for multiple items of the same type to be aggregated under a single representative entity.

A

Compound Datatypes

70
Q

Array and Objects are examples of what kind of datatype?

A

Compound Datatypes

71
Q

What is/are the PHP type casting operators for Array?

A

(array)

72
Q

What is/are the PHP type casting operators for Boolean?

A

(boolean) or (bool)

73
Q

What is/are the PHP type casting operators for Integer?

A

(int)

74
Q

What is/are the PHP type casting operators for 64-bit Integer?

A

(int64)

75
Q

What is/are the PHP type casting operators for Object?

A

(object)

76
Q

What is/are the PHP type casting operators for Float?

A

(real) or (double) or (float)

77
Q

What is/are the PHP type casting operators for String?

A

(string)

78
Q

This predefined function returns the type of the variable.

A

gettype() function

79
Q

True or False.
The possible return values for gettype() are integer, double, boolean, string, array, object, resource, unknown, function types.

A

False.
(function is not a possible return value)

80
Q

This predetermined function converts a given variable to a specific type.

A

settype() function

81
Q
A