Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 5 pts By default, all arguments passed to PHP functions are passed by ________________. reference read access value sequence Flag this Question Question

Question 1 5 pts By default, all arguments passed to PHP functions are passed by ________________. reference read access value sequence Flag this Question Question 2 5 pts If you create a function with a variable number of parameters, you need to use a PHP ________________ to get an array of the arguments that are passed to the function. Flag this Question Question 3 5 pts To create a function named randomize that has one parameter that has a default value of 5 and one required parameter that's passed by reference, you start the function like this: function randomize(&$parm1, $parm2 = 5) { function randomize($parm1 = 5, $&parm2) { function randomize($parm1 = 5, &$parm2) { function randomize($&parm1, $parm2 = 5) { Flag this Question Question 4 5 pts To avoid the duplication of function names, you can Use libraries Store function files in lower-level directories Use include paths Use namespaces Flag this Question Question 5 5 pts By default, all arguments for PHP functions are passed by ________________. value Flag this Question Question 6 5 pts A method is a/an ________________ that's coded within a class. Flag this Question Question 7 5 pts Which PHP function can be used to check if a specified class has been defined? class_exists is_a get_class property_exists Flag this Question Question 8 5 pts When you use object-oriented techniques to implement the MVC pattern, the methods of the model return the data as either arrays or properties classes result sets objects Flag this Question Question 9 5 pts Which of the following are variables that store the data for a class? destructors methods brackets properties Flag this Question Question 10 5 pts To prevent other classes from directly accessing the properties of a class, you can code them as private. Then, to make them available to other classes, you can code private methods to set and get their values a destructor to set and get their values a constructor to set and get their values public methods to set and get their values Flag this Question Question 11 5 pts To create a case-insensitive regular expression, you code the letter ________________ at the end of the expression. Flag this Question Question 12 5 pts To validate data such as a phone number, you can begin by creating a/an ________________ that matches all valid formats for a phone number. Flag this Question Question 13 5 pts What modifier can be added to the end of a regular expression in PHP to make it case insensitive? i s a g Flag this Question Question 14 5 pts At the start of a catch block in a try-catch statement, you code the name of the ________________ that defines the type of exception that the block is intended to catch. Flag this Question Question 15 5 pts Which character is used to signify the end of the string in a PHP regular expression? \b ^ \B $ Flag this Question Question 16 5 pts If two tables have a one-to-many relationship, you may need to add a ________________ column to the table on the "many" side. Flag this Question Question 17 5 pts Most database designers consider a database structure normalized if it's in the ________________ normal form. Flag this Question Question 18 5 pts SELECT statements for data structures that are normalized to the fourth or fifth normal form typically require more ________________ than denormalized data structures. Flag this Question Question 19 5 pts Which of the following ensures that relationships between tables are maintained correctly? Structured Query Language (SQL) referential integrity metadata flux capacitor Flag this Question Question 20 5 pts Every row in a table should be uniquely identified by a ________________ key. confusing parameterized imaginary primary

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions