Web Development Knowledge Check

Web Development Knowledge Check

University

20 Qs

quiz-placeholder

Similar activities

Techwiz - ICL2.0 Quiz

Techwiz - ICL2.0 Quiz

University

20 Qs

Pretest - Linux Fundamental

Pretest - Linux Fundamental

1st Grade - Professional Development

15 Qs

POF - Climbing and Descending

POF - Climbing and Descending

University

20 Qs

WEB UNIT 12 NEW

WEB UNIT 12 NEW

University

16 Qs

php

php

University

15 Qs

Quiz on Security to Guarantee Payment of Duties and Taxes

Quiz on Security to Guarantee Payment of Duties and Taxes

University

15 Qs

Blogspot

Blogspot

University

20 Qs

WEB KNOWLEDGE 22

WEB KNOWLEDGE 22

University - Professional Development

16 Qs

Web Development Knowledge Check

Web Development Knowledge Check

Assessment

Quiz

Other

University

Hard

Created by

Ranjit Shrestha

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the

tag in HTML?

The tag is used to display images on a webpage.

The tag is for creating tables in HTML.

The tag is used to link external stylesheets.

The tag is used to create a form for user input.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a text input field in an HTML form?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What attribute is used to specify the method of form submission in HTML?

action

enctype

type

method

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you maintain user state across different pages in PHP?

Use PHP sessions to store user state across different pages.

Redirect users to a single page for all interactions.

Store user state in a database for each page load.

Use cookies to store user state across different pages.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between sessions and cookies in PHP?

Sessions are stored in the browser, cookies are stored on the server.

Cookies can hold larger amounts of data than sessions.

Sessions are server-side, cookies are client-side.

Sessions expire immediately after the browser is closed, cookies last indefinitely.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you start a session in PHP?

Use session_start();

Use start_session();

Initialize session();

session_begin();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a prepared statement in MySQLi?

A prepared statement is a precompiled SQL statement that can be executed multiple times with different parameters.

A prepared statement is a SQL command that cannot be reused.

A prepared statement is a method for storing data in MySQL.

A prepared statement is a type of database connection.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?