Web App Security Quiz 1

Web App Security Quiz 1

University

15 Qs

quiz-placeholder

Similar activities

Python MCQ

Python MCQ

University

20 Qs

WML & WAP

WML & WAP

University

20 Qs

Web quiz 1 - HTML/CSS

Web quiz 1 - HTML/CSS

University

20 Qs

2025 python class first quiz

2025 python class first quiz

9th Grade - University

10 Qs

GIT COURSE

GIT COURSE

University

13 Qs

basic computer design

basic computer design

University

10 Qs

Midterm Quiz # 1 - GEC 9

Midterm Quiz # 1 - GEC 9

University

15 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Web App Security Quiz 1

Web App Security Quiz 1

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Udhayakumar Shanmugam

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

HTTP Status Code for "Access is forbidden to the requested page."

404

504

403

503

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

"HTTP is stateless" which means

The client and server are not aware of each other during a current request. Afterwards, both of them remember each other. Due to the stateless nature of protocol, the client and the server will retain the information about different request across the web pages

The client and server are aware of each other during a current request only. Afterwards, both of them continue to maintain the information about different request across the web pages

The client and server are aware of each other during a current request only. Afterwards, both of them forget each other. Due to the stateless nature of protocol, neither the client nor the server can retain the information about different request across the web pages

It is a connectionless approach in which HTTP client i.e., a browser initiates the HTTP request and after the request is sent the client disconnects from server and waits for the response.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

PHP provides mysqli contruct or mysqli_connect() function to open a database connection. This function takes minimum of ................ parameters

2

3

1

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. <?php  

  2. $a;  

  3. if ($a)  

  4. {  echo "hi";  

  5. }  

  6. else  {  

  7. echo "How are you";  

  8. }  

  9. ?>  

  1. Hi How are you

  1. Hi

Error

  1. How are you

Answer explanation

In the given program, the variable $a is uninitialized. So, the if condition will fail, and the echo statement of else block will be printed on screen.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Amazon Lambda is ..................

Function as a Service

Backend as a Service

Server as a Service

Mathematical Formula as a Service

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the present version of HTTP

HTTP/1.1

HTTP/2

HTTP/3

HTTP/4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<script

src="https://code.jquery.com/jquery-3.3.1.slim.min.js"

integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"

crossorigin="anonymous">

</script>

The above code represents

HTML sanitization Code

security-focused encoding library code

Sub resource integrity Check Code

JSLint Code

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?