100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Examen

CS 6314 TEST 3 REVIEW | WITH MOSTLY TESTED COMPLETE QUESTIONS AND ANSWERS |100% RATED CORRECT |GRADED A+

Puntuación
-
Vendido
-
Páginas
24
Grado
A+
Subido en
04-02-2025
Escrito en
2024/2025

CS 6314 TEST 3 REVIEW | WITH MOSTLY TESTED COMPLETE QUESTIONS AND ANSWERS |100% RATED CORRECT |GRADED A+

Institución
CS 6314
Grado
CS 6314










Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
CS 6314
Grado
CS 6314

Información del documento

Subido en
4 de febrero de 2025
Número de páginas
24
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

CS 6314 Test 3 Review
Study online at https://quizlet.com/_cea78p

1. PHP is ____ when it comes to function names (whereas 2
variable name is case-sensitive).
1) case-sensitive
2) case-insensitive
3) case-independent
4) case-contextual

2. A variable defined within a function, including a func- 2
tion's arguments, is said to have _____ scope.
1) global
2) local or function
3) file
4) block

3. Constants differ from variables in that they _____. 4
1) have values that can never change
2) are created using the define() function
3) do not use an initial dollar sign
4) All of the above

4. In order to execute a PHP script, you must have: 2
1) A Web browser
2) A PHP-enabled Web server
3) A text editor
4) A PHP enabled client's Web browser

5. Assuming the variable $var has been assigned a value 4
of 0, which of the following will be true?
1) empty($var)
2) isset($var)
3) $var == 0
4) All of the above



, CS 6314 Test 3 Review
Study online at https://quizlet.com/_cea78p

6. When you use the require() function to include an ex- 2
ternal file, the code in that external file will automati-
cally be treated as PHP.
1) True
2) False

7. Arrays can be created using the _____ function. 3
1) make_array()
2) create_array()
3) array()
4) is_array()

8. In order for the contents of an included file to be 2
treated as HTML, it must use the .html file extension.
1) True
2) False

9. If the require() function cannot include the file, it will 3
_____.
1) do nothing
2) generate an error
3) generate an error and terminate the script
4) generate a warning

10. How do you set a text input's value? 1
1) Assign a value to the input's value attribute
2) Assign a value to the input's checked attribute
3) Assign a value between the opening and closing
tags
4) Assign a value to the input's selected attribute

11. As we discussed in the class, consider a MySQL data- 1
base connection with mysqli (using $connection) run


, CS 6314 Test 3 Review
Study online at https://quizlet.com/_cea78p

successful. The following call will set its auto-com-
mit default to be off. mysqli_autocommit($connection,
FALSE);
1) True
2) False

12. As we discussed in the class, consider a MySQL data- 2
base connection with mysqli (using $connection) is
successful and its sql query ($sql) run successfully.
Which one of the following choices is a correct call
to loop through the result ($result) with mysqli (not
prepared statement) using while statement?
1) while($row = mysqli_fetch_one($result))
2) while($row = mysqli_fetch_assoc($result))
3) while($row = mysqli_fetch($connection, $result))
4) while($row = mysqli_fetch_array($result))
5) while($row = mysqli_fetch_result($result))

13. As we discussed in the class, consider a MySQL data- 5
base connection with PDO ($pdo) is successful and got
its SQL query result ($result). Which one of the follow-
ing choices is a correct call to free the result ($result)
and close the connection ($pdo) with mysqli?
1) PDO_free($result); PDO_close($pdo);
2) PDO_close($result); PDO_close($pdo);
3) PDO->free_result($result); PDO->close($pdo);
4) PDO_free($result); PDO_disconnect($pdo);
5) $result=null; $pdo = null;

14. As we discussed in the class, consider a MySQL data- 4
base ($dbname) in a host ($dbhost) with a DB user
($dbuser) with its password ($dbpass), using PDO.
$15.29
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
ALICIADELLA Oxford University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
569
Miembro desde
1 año
Número de seguidores
2
Documentos
1510
Última venta
1 semana hace
Alicia’s Study Vault

Ace your exams with Alicia’s Study Vault! I provide detailed exam elaborations, case studies, summaries, and high-quality study notes to help you succeed effortlessly. Whether you need a quick review or in-depth insights, my materials are well-structured, easy to understand, and exam-focused. Get the best study resources and boost your grades today!

4.8

43 reseñas

5
40
4
0
3
2
2
0
1
1

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes