HPRCA JOA IT Operators and Control Statements PYQs

3 previous year questions on Operators and Control Statements (Web Technologies - PHP) in 2 HP Junior Office Assistant (IT) papers, 2026: 0.2% of all the JOA IT questions we hold.

Questions
3
Papers
2
Years
2026

What to study in Operators and Control Statements

  • Operators
  • if, else, switch, for, while, do-while, foreach, break, continue

Operators and Control Statements questions by year

YearQuestions
20263

Sample Operators and Control Statements questions

Answers, explanations and all 3 questions are in the practice app.

Question 68 · Syllabus as per Essential Qualification

Which PHP expression will correctly check if a variable $x is both an integer and greater than 10?

  1. (A)is_int($x) && $x > 10
  2. (B)is_int($x) && $x < 10
  3. (C)is_integer($x) || $x > 10
  4. (D)$x === int && $x > 10
Show in Hindi

निम्नलिखित में से कौन-सा PHP एक्सप्रेशन सर्वोत्तम रूप से इसकी जांच करेगा कि वेरिएबल $x, एक इंटीजर और 10 से बड़ा दोनों है?

  1. (A) is_int($x) && $x > 10
  2. (B) is_int($x) && $x < 10
  3. (C) is_integer($x) || $x > 10
  4. (D) $x === int && $x > 10

Question 67 · Syllabus as per Essential Qualification

What will be the output of the following PHP code? <?php for($i = 1; $i <= 5; $i++) { if($i == 3) { continue; } echo $i . " "; } ?>

  1. (A)1 2 3 4 5
  2. (B)1 2 4 5
  3. (C)3 4 5
  4. (D)1 2
Show in Hindi

निम्नलिखित PHP कोड का आउटपुट क्या होगा? <?php for($i = 1; $i <= 5; $i++) { if($i == 3) { continue; } echo $i . " "; } ?>

  1. (A) 1 2 3 4 5
  2. (B) 1 2 4 5
  3. (C) 3 4 5
  4. (D) 1 2

Papers with Operators and Control Statements questions

Frequently asked questions

How many Operators and Control Statements questions have come in JOA IT?
3 questions in 2 of the 16 papers on AiPYQs (2026), about 0.2% of all JOA IT questions we hold.
Are these the official JOA IT previous year papers?
No. They are memory-based sample papers submitted by students for analysis, not official papers. Answers in the practice app are labelled with their source.
Where can I practise Operators and Control Statements PYQs with answers?
In the AiPYQs practice app: sign in with Google and the first 50 questions of JOA IT are free every day. The exam plan unlocks every question with answers, AI Insights and a study planner.