TN Online TestSamacheer Kalvi practice

12th Standard Computer Applications — Conditional Statements in PHP: Book Back Online Practice Test

Share this chapter: Telegram

Pick how many questions you want and set a time limit, then start. You'll get your score at the end with the correct answer and an explanation for every question. Free, in Tamil and English — 10 questions available.

Set up your test

Time remaining00:00
Q1
Which of the following is NOT a type of conditional statement in PHP?
Q2
What type of statement is the if...else statement?
Q3
What is the simplest conditional statement in PHP?
Q4
How does the if statement work in PHP?
Q5
What happens if the condition in an "if" statement is false?
Q6
What is the syntax for an if-else statement in PHP?
Q7
Which of the following is used to specify multiple conditions in an if ... elseif ... else statement?
Q8
Which of the following is used to specify multiple conditions in a switch statement?
Q9
What happens if none of the case values match the expression in a switch statement?
Q10
Which of the following is used to terminate the switch statement?

More for this chapter

Book Back Questions10 textbook MCQs · solved Additional MCQs15 extra MCQs · solved Practice TestInteractive · instant score Additional MCQ TestTest yourself on the extra set Study NotesConcepts & methods Formula SheetAll key formulas

About this Conditional Statements in PHP test

This free online practice test covers Conditional Statements in PHP from the 12th Standard Computer Applications (Samacheer Kalvi) syllabus. Choose the number of questions and an optional time limit, then answer and submit — everything is checked in your browser, with the correct answers and a worked explanation shown at the end. For the full solutions to every question in this set, see the solved MCQs page.

More chapters in Computer Applications

View all
1 Multimedia 2 An Introduction to Adobe PageMaker 3 Introduction to Database Management System 4 PHP: Hypertext Preprocessor 5 Functions and Arrays in PHP 7 Loops in PHP 8 Forms and Files 9 Connecting PHP and MYSQL 10 Introduction to Computer Networks 11 Network Examples and Protocols 12 Domain Name System (DNS) 13 Network Cabling 14 Open Source Concepts 15 E-Commerce 16 Electronic Payment Systems 17 E-Commerce Security Systems 18 Electronic Data Interchange- EDI