• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 61 páginas
Examen

Cs4288 Leach Exam 1 Comprehensive Prep | Computer Science Study Guide, Practice Questions And Correct Answers

Document preview thumbnail
Vista previa 4 fuera de 61 páginas

Prepare for CS4288 Leach Exam 1 with comprehensive practice questions and correct answers designed to reinforce key computer science concepts and exam-focused problem-solving skills. This resource provides targeted preparation for reviewing important course material, understanding core concepts, applying relevant methods, and working through practice questions similar to those encountered in an exam setting. Use it to assess your knowledge, identify areas requiring additional review, strengthen understanding, and build confidence for the CS4288 Exam 1.

Vista previa del contenido

CS 4288: WEB SYSTEMS
(Section 02 — Leach)
EXAM 1 COMPREHENSIVE PREP


Practice Questions · Correct Answers · Rationales

WEB BASICS · SESSIONS · ENCRYPTION · SECURITY
REST APIs · JAVASCRIPT


Aligned with schedule through JavaScript 2 (Exam 1)

HIGH-QUALITY · EXAM-READY

,CS 4288 WEB SYSTEMS (LEACH) | EXAM 1 PREP Comprehensive Practice



PRACTICE SET 1
1. HTTP is a stateless request-response protocol at the application layer.
A. True
B. False
C. Only stateful
D. Only UDP
Correct Answer: A
Rationale:
Cookies/sessions add application state.
Typically over TCP.

2. Default ports: HTTP 80, HTTPS 443.
A. True
B. False
C. Reverse
D. Both 8080
Correct Answer: A
Rationale:
Well-known ports.
Shown in URL when non-default.

3. GET should be safe and idempotent.
A. True
B. False
C. Only POST is safe
D. GET always mutates
Correct Answer: A
Rationale:
Retrieve resources.
No intended side effects.

4. POST is commonly used to create resources and submit forms.
A. True
B. False
C. Only for deletes
D. Always idempotent
Correct Answer: A
Rationale:
Not generally idempotent.
Contrast with PUT.




Page 2

,CS 4288 WEB SYSTEMS (LEACH) | EXAM 1 PREP Comprehensive Practice



PRACTICE SET 2
5. 200 OK indicates success; 404 Not Found; 500 server error.
A. True
B. False
C. 404 is success
D. 200 is redirect
Correct Answer: A
Rationale:
2xx success, 4xx client, 5xx server.
301/302 redirects.

6. Cookies travel on later requests via the Cookie header.
A. True
B. False
C. Only Set-Cookie forever
D. Only Authorization
Correct Answer: A
Rationale:
Server sets with Set-Cookie.
Scope: Domain, Path, flags.

7. SameSite helps mitigate CSRF.
A. True
B. False
C. Only XSS
D. Only SQLi
Correct Answer: A
Rationale:
Controls cross-site cookie sending.
Use with CSRF tokens.

8. HttpOnly prevents document.cookie access to the cookie.
A. True
B. False
C. Prevents all network send
D. Forces HTTP
Correct Answer: A
Rationale:
XSS mitigation.
Still sent on HTTP requests.




Page 3

, CS 4288 WEB SYSTEMS (LEACH) | EXAM 1 PREP Comprehensive Practice



PRACTICE SET 3
9. Server sessions store data server-side; client holds a session ID.
A. True
B. False
C. All data only in URL
D. No server state ever
Correct Answer: A
Rationale:
More control than pure client storage.
Fixation: rotate ID at login.

10. Secure cookie flag restricts cookie to HTTPS.
A. True
B. False
C. Means signed
D. Means HttpOnly
Correct Answer: A
Rationale:
Combine Secure+HttpOnly+SameSite.
Production HTTPS required.

11. Symmetric crypto: same key encrypts and decrypts (e.g., AES).
A. True
B. False
C. Only public keys
D. Hash only
Correct Answer: A
Rationale:
Fast bulk encryption.
Key distribution challenge.

12. Asymmetric crypto: public/private key pair (RSA, ECC).
A. True
B. False
C. Same key both ways only
D. No math
Correct Answer: A
Rationale:
Signatures and key exchange.
TLS uses both symmetric and asymmetric.




Page 4

Información del documento

Subido en
29 de septiembre de 2026
Número de páginas
61
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$10.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

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.
DrExamVault
4.6
(14)
Vendido
73
Seguidores
1
Artículos
4161
Última venta
19 horas hace



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