Question 1
In a stack (pile) implementing the LIFO discipline, which element is removed by a pop (dépiler) operation?
Correct Answer:
The element added most recently
Question 2
A queue (file) follows which discipline?
Correct Answer:
FIFO (First In, First Out)
Question 3
In Python, which expression correctly retrieves the value associated with key 'age' in a dictionary d, raising no error if the key is present?
Correct Answer:
d['age']
Question 4
What is the height of a binary tree consisting of a single root node with no children, using the convention that a single node has height 0?
Correct Answer:
N/A
Question 5
In a binary search tree (arbre binaire de recherche, ABR), what property holds for every node?
Correct Answer:
All keys in the left subtree are less than the node's key and all keys in the right subtree are greater
Question 1
Exam overview

About this Exam

Prepare with the Bac NSI Practice Questions - Baccalaureat General - Specialite Numerique et Sciences Informatiques (NSI) Exam practice quiz. This question bank includes 100 questions covering python, binary, tree, search, and graph. Use it to review important concepts, identify knowledge gaps, and build confidence for the related exam, course, or assessment.

More details

Additional Information

Bac NSI Practice Questions - Baccalaureat General - Specialite Numerique et Sciences Informatiques (NSI) Exam

This practice set contains 100 questions from the matching question bank and focuses on python, binary, tree, search, and graph. Work through each question carefully, review the provided solutions, and revisit topics that need more study before your next attempt.

This is an independent study resource intended for practice and review; it is not an official examination or an endorsement by any organization named in the title.

Quiz information

Frequently Asked Questions

The complete question count is available after full access is unlocked.
No fixed duration is currently configured for this quiz.
Question explanations are included where they are available in the quiz content, helping you review the reasoning after answering.
Yes. You can retake the practice test again as you continue studying during your available access period.
After your access is confirmed, you can continue into the complete practice exam from this quiz flow.
Unless explicitly stated otherwise, this page provides independent practice material for study and exam preparation and is not the official examination itself.
Keep studying

Related Questions