60 سؤال على نفس نقط بنك أسئلة الوزارة للترم الأول، بصياغة جديدة، ومع كل سؤال الإجابة الصح وشرحها. حاول تجاوب الأول، وبعدين افتح الإجابة.
حلّها كاختبار أو لعبة 3 أرواح في التطبيق1. How many main tiers make up the structure of a web application in this lesson?
Three
تطبيق الويب مكوّن من 3 طبقات: frontend و backend و database.
2. Which tier shows the screens and takes in what the user types and clicks?
Frontend
عرض الشاشات واستقبال مدخلات المستخدم شغل الـ Frontend.
3. A video platform counts how many times each clip is watched and picks clips to suggest. Which tier does this work?
Backend
حساب المشاهدات واختيار الفيديوهات المقترحة معالجة على السيرفر = Backend.
4. Where does a social network keep its posts, follow relationships, and messages?
In the database
تخزين المنشورات وعلاقات المتابعة والرسايل شغل الـ Database.
5. In an online store, which tier sends the payment request and deals with its result?
Backend
تنفيذ الدفع والتعامل مع نتيجته معالجة = Backend.
6. What is the main job of the database tier?
Storing and retrieving data
الـ Database بتنظّم وتخزّن البيانات وترجّعها لما الـ backend يطلبها.
7. On a video site, a user's watch history and account details are kept in which tier?
Database
سجل المشاهدة وبيانات المستخدم بيانات متخزنة = Database.
8. Which tier decides who should receive a post and when to push a notification?
Backend
تحديد جمهور البوست والتحكم في الإشعارات قرارات = Backend.
9. What does the frontend do in a web application?
Shows content and receives the user's input
الـ Frontend بيعرض المحتوى وبيستقبل مدخلات المستخدم على المتصفح.
10. A shopper searches for headphones. Which tier passes the search on to the database?
Backend
الـ frontend بيبعت الكلمات للـ Backend، وهو اللي بيدوّر في الـ database.
11. Which of these is data an online shop would store in its database?
Customers' order records
سجل الطلبات بيانات بتتخزن في الـ Database؛ شكل الشاشة frontend والتحقق backend.
12. What is the core idea behind the overall structure of a web application?
Three tiers work together to respond to the user
الفكرة إن الـ frontend والـ backend والـ database بيتعاونوا مع بعض.
13. Which of these is a web application?
A maps website opened in a browser
تطبيق الويب بيتفتح من المتصفح من غير تنزيل برنامج، زي موقع الخرايط.
14. Which tier of a video-sharing site holds the uploaded videos and the users' data?
Database
الفيديوهات وبيانات المستخدمين بتتخزن في الـ Database.
15. Which task is done by the backend of a web app?
Checking the user's login details
التحقق من تسجيل الدخول معالجة على السيرفر = Backend.
16. Which statement about the three tiers of a web application is correct?
They cooperate, each doing its own part of the work
كل طبقة ليها دور، والتلاتة بيشتغلوا مع بعض علشان التطبيق يشتغل.
17. Which phrase best sums up the three-tier architecture?
Frontend, backend, and database working together
الـ three-tier architecture = frontend + backend + database بيتعاونوا.
18. On a video-sharing service, uploaded clips are saved for later viewing. Which tier saves them?
Database
حفظ الفيديوهات علشان تتشاف بعدين تخزين = Database.
19. Which of these programs is used as a web application?
Gmail opened in a browser
Gmail بيتستخدم من المتصفح فهو تطبيق ويب، والباقي برامج متسطّبة على الجهاز.
20. When a user signs in, which tier compares the entered password with the stored account data?
Backend
الـ database بتخزن البيانات بس، لكن المقارنة والتحقق شغل الـ Backend.
شرح درس الهيكل العام لتطبيقات الويب
1. In the client-server model, what is the client?
The program or device that sends requests
الـ Client هو اللي بيطلب، زي المتصفح أو تطبيق الموبايل.
2. A user types an ID and password and presses Log in. Which HTTP method should send them?
POST
إرسال بيانات للسيرفر زي تسجيل الدخول = POST.
3. The server answers a request with status code 200. What happened?
The request succeeded
كود 200 معناه إن الطلب نجح.
4. Status code 404 tells the client that…
the requested page could not be found
كود 404 معناه إن الصفحة المطلوبة مش موجودة.
5. What is the key difference between HTTP and HTTPS?
HTTPS encrypts the data with TLS
HTTPS = HTTP + تشفير TLS، فطرف تالت صعب يقرا المحتوى.
6. What is JSON mainly used for in web applications?
Writing data that programs exchange
JSON صيغة لكتابة البيانات اللي بتتبادل، سهلة على الإنسان والكمبيوتر.
7. Which description fits an API?
A way for separate programs to exchange data
الـ API طريقة لتبادل البيانات بين برامج مختلفة.
8. An app wants to show the latest news items stored on the server. Which method fetches them?
GET
استرجاع بيانات من السيرفر علشان تتعرض = GET.
9. What does the client do in a web application?
Sends requests to get data
الـ client بيبعت request والسيرفر بيرد بـ response.
10. Which HTTP method is normally used to ask the server for a page or a file?
GET
طلب صفحة أو ملف من السيرفر استرجاع = GET.
11. Which format is commonly used to exchange data between applications?
JSON
البيانات بين البرامج بتتكتب غالباً بصيغة JSON.
12. A student follows an old link to a page the site has removed. Which status code does the server return?
404
الصفحة اتشالت يعني مش موجودة = 404.
13. Which status code shows that a request was handled successfully?
200
200 = نجاح.
14. A contact form sends the visitor's name and message to the server. Which method fits?
POST
إرسال بيانات فورم للسيرفر = POST.
15. Which lets two different applications talk to each other and share data?
API
الـ API هو اللي بيخلّي البرامج المختلفة تتبادل البيانات.
16. Which of these is a data format used to exchange information between programs?
JSON
JSON صيغة بيانات؛ PHP وJava لغات برمجة وCSS للشكل.
17. Which status code means something went wrong inside the server?
500
500 = خطأ في السيرفر.
18. Which technique is typically used when the browser asks for a web page or search results?
GET
عرض صفحة أو نتائج بحث استرجاع بيانات = GET.
19. The text {"name": "Mona", "marks": [90, 85]} is written in which format?
JSON
دي بيانات مكتوبة بصيغة JSON (مفتاح وقيمة وقوايم).
20. Which protocol protects client-server traffic so outsiders cannot eavesdrop on it?
HTTPS
HTTPS بيشفّر الاتصال بـ TLS فاحتمال التجسس يقل.
شرح درس طرق الاتصال في تطبيقات الويب
1. What is HTML responsible for on a web page?
The basic structure of the page
HTML = الهيكل، زي إطار المبنى.
2. Which of these is NOT one of the semantic HTML tags?
<contact>
الـ semantic tags اللي درسناها: header وnav وmain وfooter، لكن <contact> مش منهم.
3. What is CSS used for?
Styling how the page looks
CSS = الشكل (ألوان، تخطيط، خطوط)، زي التشطيب.
4. What does JavaScript add to a web page?
Interactive behavior
JavaScript = السلوك والتفاعل، زي الكهرباء والسباكة.
5. The <header> tag is used to mark…
the top part of the page
<header> لأعلى الصفحة.
6. Which describes responsive design?
A layout that adapts to each screen size
الـ Responsive design بيظبط التخطيط تلقائياً حسب حجم الشاشة.
7. What is React mainly used for?
Building user interfaces from components
React من Meta لبناء الواجهات وبيحدّث جزء من الشاشة بكفاءة.
8. The Next.js framework is built on top of…
React
Next.js فيه مميزات React وزيادة آليات لتسريع عرض الصفحات.
9. Which technology sets the look and styling of a web page?
CSS
الشكل والتنسيق = CSS.
10. Which tag wraps the main content section of a page?
<main>
<main> للمحتوى الأساسي.
11. A school site rearranges its columns into one column on phones. What is this called?
Responsive design
التخطيط بيتغيّر حسب حجم الشاشة = Responsive design.
12. Which of these is a JavaScript library for building user interfaces?
React
React لبناء واجهات المستخدم؛ الباقي مش مكتبات JavaScript.
13. Which technology builds the basic structure of a page?
HTML
الهيكل الأساسي = HTML.
14. What is the <nav> tag used for?
Links for moving around the site
<nav> لجزء التنقل في الموقع.
15. What is the main advantage of responsive design?
It fits different screen sizes
الميزة إن الصفحة تتكيف مع أي حجم شاشة؛ تحسين البحث ده من semantic HTML.
16. Which framework is built on React and adds ways to display pages faster?
Next.js
Next.js مبني على مميزات React وبيسرّع عرض الصفحات.
17. Which technology makes a page respond when a user clicks a button?
JavaScript
استجابة الأزرار تفاعل = JavaScript.
18. What is the <footer> tag used for?
The bottom part of the page
<footer> لأسفل الصفحة.
19. In responsive design, what does mobile-first mean?
Designing for small phone screens first
mobile-first يعني نصمم للشاشات الصغيرة الأول.
20. Which framework lets you adopt it gradually, step by step?
Vue
Vue هيكله بسيط وتقدر تبني بيه بشكل تدريجي.
شرح درس أساسيات تقنيات الـ Frontend
تطبيق تعليمي مستقل وغير تابع لوزارة التربية والتعليم. الكتاب المدرسي هو المرجع الأساسي. سياسة الخصوصية