(UPDATED 18-SEP-2024) Dynamic Website Development using PHP-7062
(UPDATED 18-SEP-2024) Dynamic Website Development using PHP-7062
Q.1 PHP provides function to access the value of all the environment variables.
A. getenv() B. getenvi()
C. goenv() D. goenvi()
Correct Answer:
Reference: Heading 14.1, page no 361
Q.2 Which function helps to identify the browser which can be either Internet Explorer, Mozilla, or
Netscape?
A. pre_match() B. preg_match()
C. rand() D. srand()
Correct Answer:
Reference: Heading 14.1, page no 363
Q.4 A is a search input box that displays the search results as and when the user starts typing
words.
A. Free tool box B. Live tool box
C. Live search box D. Free search box
Correct Answer:
Reference: Heading 15.5, page no 397
Q.5 Which of the following operators is used to compare operands for equality as well as same data
type in PHP?
A. == B. >=
C. === D. <=
Correct Answer:
Reference: Table 4.2 , page no 91
Q.8 What is the easiest technique to utilize while setting up PHP if a user uses Internet Information
Services (IIS)?
A. Web Platform Installer (Web PI) B. Visual C Runtime(CRT)
C. Nginx D. MAMP
Correct Answer:
Reference: Book name: Heading 2.1.3, page no 27
Q.9 In which of the following areas is the PHP scripts extensively used?
A. Server-side Scripting B. Google Cloud BigTable
C. Command-line Scripting D. Writing Desktop
Correct Answer:
Reference: Heading 1.3, page no 11
Q.10 What allows users to compile a program into machine code just before it can be executed?
A. Block blob B. JIT compiler
C. Google Cloud RealStore D. CSV
Correct Answer:
Reference: Heading 1.5, page no 18
Q.11 Which is the most significant feature that has been added in PHP 8.0?
A. Nullsafe Operators B. Union Types
C. Named Arguments D. JIT
Correct Answer:
Reference: Table 1.1, page no 9
Q.12 Which of these software must be installed on local machines of the users
to run PHP
programs?
A. Apache B. PHP Interpreter
C. MySQL D. C2x
Correct Answer:
Reference: Heading 1.1, page no 24
Q.14 A can contain variables (termed as properties), constants, and functions (termed as
methods) that are designed to perform one or more tasks.
A. Class B. Object
C. Character D. Result
Correct Answer:
Reference: Heading 12.1, page no 301
Q.16 OOP has certain keywords called that decide the accessibility for various class
methods, variables, and other member methods.
A. Ability modification B. Access modification
C. Ability modifiers D. Access modifiers
Correct Answer:
Reference: Heading 13.1, page no 331
Q.17 Which important principle in OOP enables a class to use methods and properties of other
classes?
A. Public B. Abstract
C. Inheritance D. Final
Correct Answer:
Reference: Heading 13.2, page no 333
operating
system to use
Composer.
A6 Homestead B6 A free and B1 B2 B3 B4 B5 B6
open source
hypervisor that
allows running
guest VMs.
Q:26 In key value pairs, the value should contain validating keywords separated
by the ________ symbol.
A. * B. -
C.| D. \
Correct Answer:
Q:27 Which of the following validators validates if any value was passed for a
column?
A. between B. required
C. numeric D string
Correct Answer:
Q:29 Which of the following commands will help to verify that Composer is
installed on the computer?
A. GitBash B. ssh
C. cmd D install
Correct Answer:
Q:30 The GNU License information appears when you install ______________
A. Composer B. Vagrant
C. Homestead D GitBash
Correct Answer:
Q:31 The _____________method uses the URI, two arguments, and the closure
function that is executed in response to the URI.
A.put B. push
C get D set
Correct Answer: