5 previous year questions on Functions, Arrays and Strings (Web Technologies - PHP) in 5 HP Junior Office Assistant (IT) papers, 2026: 0.3% of all the JOA IT questions we hold.
Questions
5
Papers
5
Years
2026
What to study in Functions, Arrays and Strings
User-defined functions, call by value and reference
Indexed and associative arrays
String functions, regular expressions
Functions, Arrays and Strings questions by year
Year
Questions
2026
5
Sample Functions, Arrays and Strings questions
Answers, explanations and all 5 questions are in the practice app.
Question 70 · Syllabus as per Essential Qualification
Which function would you use to check if a string has more than 10 characters in PHP?
(A)str_split
(B)strlen
(C)strtolower
(D)str_replace
Show in Hindi
PHP में यह जाँचने के लिए कि क्या किसी स्ट्रिंग में 10 से अधिक कैरेक्टर हैं, आप किस फंक्शन का उपयोग करेंगे?
(A) str_split
(B) strlen
(C) strtolower
(D) str_replace
Question 70 · Syllabus as per Essential Qualification
यदि आप PHP में, किसी फ़ं क्शन के अंदर एक अस्थायी गणना परिणाम को इस प्रकार स्टोर करना चाहते हैं कि फ़ं क्शन के बाहर वाला समान-नाम वाला वेरिएबल प्रभावित न हो, तो आपको किस वेरिएबल डिक्लेरेशन उपागम का उपयोग करना चाहिए?
(A)फ़ं क्शन के अंदर वेरिएबल को static के रूप में डिक्लेयर करें
(B)मान को स्टोर करने के लिए सुपरग्लोबल ऐरे का उपयोग करें
(C)फ़ं क्शन के अंदर global कीवर्ड का उपयोग करके वेरिएबल को डिक्लेयर करें
(D)फ़ं क्शन के अंदर, global कीवर्ड का उपयोग किए बिना एक लोकल वेरिएबल को डिक्लेयर करें
Show in English
If you want to store a temporary calculation result within a function in PHP without affecting the same-named variable outside the function, which variable declaration approach should you use?
(A) Declare the variable as static inside the function
(B) Use a superglobal array to store the value
(C) Declare the variable using the global keyword inside the function
(D) Declare a local variable inside the function without using the global keyword
Papers with Functions, Arrays and Strings questions
How many Functions, Arrays and Strings questions have come in JOA IT?
5 questions in 5 of the 16 papers on AiPYQs (2026), about 0.3% 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 Functions, Arrays and Strings 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.