TN Online TestSamacheer Kalvi practice

12th Standard Computer Applications — Loops 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 loop statement in PHP?
Q2
What type of loop is "for loop" in PHP?
Q3
What is the syntax for for loop in PHP?
Q4
What are the three parts of the for loop syntax in PHP?
Q5
When is the ‘initialization’ part of a for loop executed?
Q6
What is the purpose of the ‘increment’ part of a for loop?
Q7
What type of loop is “while loop” in PHP?
Q8
What type of loop is “do...while loop” in PHP?
Q9
Which looping structure should be used to iterate over elements of an array in PHP?
Q10
What is the output of the following code? \(array = array(1, 2, 3, 4, 5); foreach (\)array as \(value) { echo \)value; }

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 Loops in PHP test

This free online practice test covers Loops 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 6 Conditional Statements 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