أمثلة محلولة

أسئلة تدريب هندسة الحاسب (اختبار جاهزية)

سؤال محلول لكل مجال من المجالات الرسمية الـ 9 في هندسة الحاسب، من بنك مبني على المعايير الأكاديمية للهيئة. حُلّها هنا، ثم تدرّب على المجموعة الكاملة — مع مراجعة متباعدة واختبارات موقوتة — في التطبيق مجاناً.

المجال 01 · الدوائر والإلكترونيات

A 12 V battery is connected across a resistor and the current through it is measured to be 3 mA. What is the resistance of the resistor?

  1. A250 Ω
  2. B4 Ω
  3. 4 kΩ
  4. D36 kΩ
لماذا

بتطبيق قانون أوم: R = V / I = 12 فولت / 3 مللي أمبير = 12 / 0.003 = 4000 أوم = 4 كيلو أوم.

نموذج — المجموعة الكاملة، مع المراجعة المتباعدة والاختبارات، في التطبيق.

المجال 02 · بنية الحاسوب وتنظيمه

A system has a 4-way set-associative cache organized into 64 sets, with a block size of 32 bytes. How many bits are used for the set index field of a 32-bit memory address?

  1. A5 bits
  2. 6 bits
  3. C11 bits
  4. D7 bits
لماذا

يحدد حقل فهرس المجموعة إحدى المجموعات الـ 64، وعرضه يساوي log2(64) = 6 بتات.

نموذج — المجموعة الكاملة، مع المراجعة المتباعدة والاختبارات، في التطبيق.

المجال 03 · التصميم الرقمي

A 4-to-1 multiplexer has data inputs D0 = 0, D1 = 1, D2 = 0, D3 = 1 and select lines S1, S0 with S1 as the most significant bit. The output Y is taken from the multiplexer. An engineer claims: 'Y = S0 for every combination of the select lines.' Determine the actual value of Y for each combination of (S1, S0) and decide whether the claim is correct.

  1. Y = 0, 1, 0, 1 for (S1,S0) = (0,0), (0,1), (1,0), (1,1); the claim is correct.
  2. BY = 0, 1, 0, 1 for (S1,S0) = (0,0), (0,1), (1,0), (1,1); the claim is false, because Y also equals S0 only coincidentally and is not defined by S0.
  3. CY = 1, 0, 1, 0 for (S1,S0) = (0,0), (0,1), (1,0), (1,1); the claim is false.
  4. DY = 0, 1, 1, 0 for (S1,S0) = (0,0), (0,1), (1,0), (1,1); the claim is false.
لماذا

عند (S1,S0) = (0,0),(0,1),(1,0),(1,1) يختار الـ MUX القيم D0,D1,D2,D3 = 0,1,0,1 على التوالي. إذن Y = 0,1,0,1 وهي تساوي S0 في كل الحالات. لذلك claim Y = S0 صحيحة في هذا التكوين. الخيار A.

نموذج — المجموعة الكاملة، مع المراجعة المتباعدة والاختبارات، في التطبيق.

المجال 04 · الأنظمة المدمجة

An engineer uses a UART in 8N1 mode at 9,600 bps. If the receiver samples at 16× the bit rate, how many sampling clock cycles occur in one complete transmitted character frame?

  1. A128
  2. B144
  3. 160
  4. D176
لماذا

يتكون إطار UART بنمط 8N1 من بت بداية واحد و8 بتات بيانات وبت توقف واحد، أي ما مجموعه 10 فترات بت. مع أخذ العينات بمعدل 16×، يولّد المستقبل 16 دورة ساعة أخذ عينات لكل فترة بت. لذلك يكون إجمالي دورات ساعة أخذ العينات في الإطار الكامل 10 × 16 = 160.

نموذج — المجموعة الكاملة، مع المراجعة المتباعدة والاختبارات، في التطبيق.

المجال 05 · شبكات الحاسوب

Three wireless architectures are described for a moving terminal that must keep a continuous voice session while roaming over a wide area: (i) a cellular network with a home location register and visitor location registers, (ii) an infrastructure Wi-Fi network using a single extended service set with one SSID, and (iii) a Bluetooth piconet. Which statement correctly contrasts their support for wide-area mobility?

  1. AAll three provide equivalent wide-area mobility because each uses a unique device address for routing.
  2. The cellular network supports wide-area roaming through location registers and inter-cell handoff, while the Wi-Fi extended service set and the Bluetooth piconet are limited to local coverage and lack inter-network location management.
  3. CThe Bluetooth piconet provides the widest coverage because its master can hand a connection to any other piconet without prior registration.
  4. DThe Wi-Fi extended service set provides wide-area mobility because all access points use the same SSID and therefore share one global location register.
لماذا

تستخدم الشبكات الخلوية سجلات HLR/VLR لإدارة الموقع وتدعم التسليم بين الخلايا، مما يتيح التجوال واسع النطاق. مجموعة الخدمات الموسعة Wi-Fi بمعرّف SSID واحد توفر تغطية محلية فقط (مبنى أو حرم جامعي) ولا تدير الموقع عبر شبكات منفصلة. شبكة Bluetooth Piconet شبكة شخصية قصيرة المدى ولا تدعم التنقل واسع النطاق. لذلك الخيار B صحيح.

نموذج — المجموعة الكاملة، مع المراجعة المتباعدة والاختبارات، في التطبيق.

المجال 06 · إدارة موارد الأنظمة

A process issues a read system call for data not currently in main memory. Which sequence of hardware and operating-system actions correctly completes this request?

  1. AThe process reads the disk directly, then the OS invalidates the page table entry.
  2. The MMU raises a page-fault exception, the OS saves the process state, loads the missing page into memory, updates the page table, and restores the process state to resume the instruction.
  3. CThe cache controller loads the page from disk and continues execution without involving the OS.
  4. DThe OS stalls the CPU until a direct-memory-access controller copies the whole process address space to memory.
لماذا

عند غياب الصفحة المطلوبة من الذاكرة الرئيسية، تُطلق وحدة إدارة الذاكرة استثناء خطأ صفحة. يحفظ نظام التشغيل حالة العملية، ويجلب الصفحة إلى الذاكرة، ويحدّث جدول الصفحات، ثم يستعيد حالة العملية لإعادة تنفيذ التعليمة. الخيار B هو التسلسل الصحيح.

نموذج — المجموعة الكاملة، مع المراجعة المتباعدة والاختبارات، في التطبيق.

المجال 07 · معالجة الإشارات

Two finite-length discrete-time sequences are x[n] = {1, 2} for n = 0, 1 and h[n] = {3, 4} for n = 0, 1, and both are zero elsewhere. Their linear convolution y[n] = x[n] * h[n] has how many nonzero samples, and what is the value of y[2]?

  1. A3 nonzero samples, and y[2] = 10
  2. 3 nonzero samples, and y[2] = 8
  3. C4 nonzero samples, and y[2] = 8
  4. D3 nonzero samples, and y[2] = 11
لماذا

التفاف المتتابعتين ذواتَي النقطتين يعطي y = {3, 10, 8}: ثلاث عيّنات غير صفرية، مع y[2] = 2 × 4 = 8.

نموذج — المجموعة الكاملة، مع المراجعة المتباعدة والاختبارات، في التطبيق.

المجال 08 · هندسة الأنظمة والمشاريع

An engineering team interviews users for a new traffic-light controller. The users say the controller should 'switch phases when the road is empty.' The requirements document simply writes: 'The controller shall switch phases when the road is empty.' Which method most appropriately derives a precise system specification from this vague requirement?

  1. AAdd the statement to the functional requirements list without changes so it stays traceable to the user.
  2. BReplace the word 'empty' with 'when no vehicle is detected' and accept the requirement as final.
  3. Derive measurable criteria by defining 'empty' as no vehicle detected by the loop sensors for 10 seconds, then state the controller action and timing in the specification.
  4. DAsk the users to rewrite the statement themselves because only they know what 'empty' means.
لماذا

لاشتقاق مواصفة دقيقة من متطلب غامض، يجب على المهندس تحديد معايير قابلة للقياس. الخيار C يعرّف 'فارغ' من حيث مدخلات الحساس والمدة الزمنية، مما ينتج مواصفة قابلة للاختبار.

نموذج — المجموعة الكاملة، مع المراجعة المتباعدة والاختبارات، في التطبيق.

المجال 09 · البرمجة والخوارزميات

A program has a global variable count initialized to 0 and a function increment() that does not declare its own variable named count; the function only executes count = count + 1. If increment() is called twice, what is the value of the global count after the second call returns?

  1. A0
  2. B1
  3. 2
  4. DThe program fails to compile because count is not declared inside increment().
لماذا

لأن الدالة increment() لا تعرّف متغيرًا محليًا باسم count فإنها تحدّث المتغير العام. نداءان ينتقلان من 0 إلى 1 إلى 2.

نموذج — المجموعة الكاملة، مع المراجعة المتباعدة والاختبارات، في التطبيق.

تدرّب على أسئلة هندسة الحاسب مجاناً.

كل سؤال يشرح سبب صحة أو خطأ كل خيار، ويعيد ما تخطئ فيه.

افتح التطبيق

تخصصات أخرى