School Students

National Science and Mathematics Olympiad (NSMO) – Cities and Provinces Test: Informatics 1 (Juniors)

National Science and Mathematics Olympiad (NSMO) – Cities and Provinces Test: Informatics 1 (Juniors) — Number of questions: 20 questions. Exam time: 120 minutes. Pass mark: Mawhiba does not publish a pass mark; students who qualify move on to the next stage. Calculator: Not allowed: the paper bans all electronic devices, including calculators. Exam fee: Free: registration in both tracks of the National Gifted Olympiad has no fee. Source: King Abdulaziz & His Companions Foundation for Giftedness and Creativity (Mawhiba), in partnership with the Ministry of Education (Last verified: 2026-11-18). Question bank: full mock exams of 20 questions in 120 minutes, like the real test with a result for every unit, plus 510 explained questions across 5 units, every option explained, a review of your mistakes, and two ways to practise: see the answer right away, or sit a full timed mock. Free questions: a 10-question diagnostic test covering the main units, no sign-up; at the end you get your score and your weakest units. With lifetime access: the Complete Review Guide, a 21-page PDF ordered by unit weight; chapter 1 is free to read on the guide page.

Last verified on the King Abdulaziz & His Companions Foundation for Giftedness and Creativity (Mawhiba), in partnership with the Ministry of Education website: 18 November 2026

If you sat the exam today, what would you score?

10 free questions · no sign-up · your score as soon as you finish

Question 1 of 10

Which of the following is NOT a valid constant declaration?

  1. A const char first_letter = 'a';
  2. B const double N = 10;
  3. C const int SIX = 7;
  4. D const double THREE = "3.000";

All 10 free questions with answers and an explanation for every option

Where the questions come from

  1. C++ Basics: Variables, Types and Operators4 questions
  2. Conditions2 questions
  3. Loops6 questions
  4. Functions and Recursion4 questions
  5. Arrays, Vectors, Strings and Simulation4 questions

Exam facts

Exam language
Arabic or English
Number of questions
20 questions Source
Exam time
120 minutes Source
Pass mark
Mawhiba does not publish a pass mark; students who qualify move on to the next stage Source
Calculator
Not allowed: the paper bans all electronic devices, including calculators Source
Exam fee
Free: registration in both tracks of the National Gifted Olympiad has no fee Source
Registration
Through the school coordinator only, who registers nominated students on Mawhiba's website; students cannot register individually for the scientific track Source

Last verified: 2026-11-18

Where other sources differ

  • The 2026 paper asks for exact answers (one number, letter or word, no partial credit), while the booklet's contest page describes stage 1 as online multiple choice on Classera. Our questions are multiple choice; the wrong options are the results of typical tracing mistakes, so work out your answer before reading them.
  • Questions in the 2026 paper get harder: questions 1–7 are worth 4 points, 8–13 are worth 5 and 14–20 are worth 6, for a total of 100.
  • All code is C++ as in the booklet (GCC). We checked every code answer by compiling and running it, and we avoid code whose result depends on the compiler or is not defined by the C++ standard.

Exam body

King Abdulaziz & His Companions Foundation for Giftedness and Creativity (Mawhiba), in partnership with the Ministry of Education: Official website: King Abdulaziz & His Companions Foundation for Giftedness and Creativity (Mawhiba), in partnership with the Ministry of Education

How to register

  1. The student does not register themselves: registration for the NSMO scientific track goes through the school coordinator, so tell the coordinator you want to take part in informatics.
  2. The school registers the nominated students on Mawhiba's website unless they are already registered, and the coordinator nominates students within the allocation Mawhiba sets.
  3. Check the conditions: Saudi nationality, a grade targeted this year (Informatics 1 is for grades 7–8, first and second intermediate), and general education in a public, private or international school.
  4. The student sits the stage 1 test: 20 questions in 120 minutes in the 2026 paper, each shown in Arabic and English, with no electronic devices.
  5. The student receives a participation certificate after passing each stage, and those who pass continue to the programming-contest stages.

Source

Study guides (2)

Frequently asked questions

How many questions are in the NSMO Informatics 1 test and how long is it?

20 questions in 120 minutes, according to the instructions on Mawhiba's published 2026 Informatics 1 paper. Each question is shown in Arabic and English, and the code is the same in both. Our full mock exams have the same number of questions and time.

Can I try NSMO Informatics 1 questions for free?

Yes. Free questions: a 10-question diagnostic test covering the main units, no sign-up; at the end you get your score and your weakest units. The free practice test page lists the same questions with answers and an explanation for every option. The rest of the questions and the full mock exams come with a pass from SAR 26.

What makes this NSMO Informatics 1 question bank different?

Question bank: full mock exams of 20 questions in 120 minutes, like the real test with a result for every unit, plus 510 explained questions across 5 units, every option explained, a review of your mistakes, and two ways to practise: see the answer right away, or sit a full timed mock. Practice questions and explanations are ready to use on your phone. Try the free questions and read the explanations before you buy.

Is there a PDF review guide for NSMO Informatics 1?

Yes. "NSMO Informatics 1 Complete Review Guide 2026–2027" is a 21-page Arabic PDF: 5 units ordered from the heaviest in the exam to the lightest, each chapter with key points, common mistakes and review cards, plus a 7-day plan. Chapter 1 is free to read on the guide page; the full guide comes with lifetime access to this exam and is not part of 7-day access. The guide has no questions: scoring, practice and mock exams are on the site.

Is the test multiple choice?

The 2026 paper asks for exactly one number, letter or word per question, written in a box, with no partial credit. The booklet's contest page describes stage 1 as an online multiple-choice test on Classera. Our questions are multiple choice, and the wrong options are answers that common tracing mistakes produce. Ask your school coordinator which format your test uses.

Who can sit Informatics 1?

Saudi students in grades 7–8 (first and second intermediate) in general education (public, private or international), nominated by their schools. Grades 9–10 sit Informatics 2 (seniors).

Do I need to know how to program?

You need to read C++ fluently: variables, operators, if, loops, functions, recursion, arrays and vectors, as in Part A of the official booklet. You do not write or run code in stage 1, and no computers or calculators are allowed, so practise tracing by hand.

How do I register and what does it cost?

Registration for the scientific track goes through the school coordinator, who registers nominated students on Mawhiba's website; students do not register themselves. Registration is free. Ask your school coordinator for the track timetable.

Is this an official site, and how do I pay?

It is an independent site, not part of Qiyas, this exam's regulator or any government body, with practice questions and answer explanations. You pay once, with no automatic renewal, through Waffo Pancake (the merchant of record) by Visa, Mastercard, Apple Pay or Google Pay, and your statement shows "WAFFO". If you were charged twice or the pass did not open, email support@saudiexams.com.

NSMO Informatics 1 Complete Review Guide 2026–2027

Complete Review Guide 2026–2027 cover

21-page · 25 key points · 20 common mistakes · 25 review cards

The first three chapters alone cover about 70% of the exam. Short on time? Start there.

About the question bank

The first-stage informatics test of the NSMO olympiad for juniors: 20 questions in 120 minutes for first and second intermediate students, almost all of them reading and tracing C++ code by hand. We prepared 510 questions with every code answer checked by compiling and running it, so your student sees where they stand before test day.

  • 510 questions in the bank
  • 20 questions in 120 min per mock
  • 25 flashcards

Past exam questions with every option explained

What you get

  • 510questions in the bankPractise with the answer shown right away, or sit a full timed mock
  • 5unitsSplit by the exam syllabus
  • 25flashcardsTo lock in terms and definitions
  • 25quick review pointsEach unit in a few key lines

Study material sample: C++ Basics: Variables, Types and Operators

Summary

C++ basics brought 4 of the 20 questions in the 2026 Informatics 1 paper (questions 1, 2, 4 and 15). You must know which names are legal, which declarations compile, and above all trace arithmetic exactly as C++ does it: integer division drops the fraction, % keeps the sign of the left operand, compound assignments apply to the whole right side, and x++ gives the old value while ++x gives the new one.

What the exam focuses on · Common traps · Try the flashcards

What the exam focuses on

  • Integer division truncates toward zero: 7 / 2 is 3 and -7 / 2 is -3.
  • The remainder takes the sign of the dividend: -7 % 3 is -1.
  • x op= e means x = x op (e): x *= 2 + 3 multiplies by 5.
Show 2 more
  • b = a++ copies the old value; b = ++a copies the new one.
  • A char is a small integer: 'a' + 1 printed directly is 98, stored in a char it is b.

Common traps

  • Thinking that storing 7 / 2 in a double gives 3.5: the division happens first in int.
  • Reading x *= 2 + 3 as x * 2 + 3.
  • Expecting cout to print 5.0 for a double equal to 5; it prints 5.
Show 1 more
  • Assuming an inner-block variable with the same name changes the outer one.

Try the flashcards

Tap a card to see the answer

What is 17 / 5 and 17 % 5 in C++?

3 and 2.

What does int k = -3.99; store?

-3 (truncation toward zero).

After int a = 5; int b = a++; what are a and b?

a = 6, b = 5.

What does cout << 'A' + 1; print?

66, because char + int is an int.

Can double be used as a variable name?

No, it is a keyword.

Why you can trust these questions

  • Published questions: 510. Read the explanations and references, and report any error from the question.
  • Exam facts last checked against the organiser’s website: 2026-11-18. We check them again every three months and two weeks before each test.
  • Found a mistake? Tap "Report an error" under any question in the practice area, or email us at support@saudiexams.com
  • Independent website. Not affiliated with ETEC (Qiyas), the Financial Academy, ACAMS, the ACFE, DAMA, CompTIA, Saudi Aramco or any government body.
Update log
  • 2026-11-18 Published the Informatics 1 stage 1 test facts from Mawhiba's published 2026 paper and answer key and the official NSMO informatics booklet.

How we write and review content

NSMO Informatics 1

Full prep for this exam

All of this in one purchase.

  • Full mock exam, same as the real one20 questions in 120 minutes. You get a total score and a score for every unit.
  • Practice unit by unit510 questions, every option explained with its source. Starts with your weakest units.
  • Complete Review Guide 2026–2027 (PDF)Ordered by each unit's weight in the exam. With lifetime access only.

Choose your access

One step before payment

Continue with your Google account and you go straight to the payment page.

Check my score freeFull prep