Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

JAVA 1

Total questions: 36

Worksheet time: 17mins

Name
Class
Date
1.

يقوم بالتأكد من صحة البرنامج ويحول البرنامج إلى صيغة تنفيذية

a)

البرنامج

b)

المبرمج

c)

مستخدم البرنامج

d)

جهاز الحاسب

2.

مساحة المستطيل = الطول * العرض _ تعد هذه العبارة من أوامر الحاسب وهو أمر

a)

الادخال

b)

الاخراج

c)

التكرار

d)

الحساب

3.

اطبع مساحة المستطيل _ تعد هذه العبارة من أوامر الحاسب وهو أمر

a)

الادخال

b)

الاخراج

c)

الحساب

d)

التحقق من الشرط

4.

يتم فيها كتابة الاوامر على هيئة اختصارات مفهومة باللغة الانجليزية

a)

لغة التجميع

b)

لغة الآلة

c)

لغة البيسك

d)

لغة الجافا

5.
من أمثلة اللغات منخفضة المستوى 
a)
لغة الجافا
b)
لغة البيسيك
c)
الغة الآله
d)
لغة C
6.
لغة البرمجة التي تستخدم في لبرمجة تطبيقات والعاب الأجهزة الذكية
a)
لغة الجافا 
b)
لغة C
c)
لغة C++
d)
لغة C#
7.
يقصد به ترتيب تنفيذ التعليمات البرمجية تعليمة تلو الأخرى
a)
الاختيار
b)
التتابع
c)
البرمجة
d)
التكرار
8.
تغلف البيانات مع العمليات الخاصة بها بداخل كائن يدل عليها
a)
لغة البرمجة بالكائنات
b)
لغات البرمجة الإجرائية
c)
لغة الآلة.
d)
لغة التجميع.
9.
هو عبارة عن مجموعة من اللبنات المتصلة ببعضها لجعل الكائن يؤدي عملا معيناً
a)
التكرار 
b)
التتابع 
c)
المقطع البرمجي
d)
البرنامج
10.
لغة يتم تحويلها إلى لغة الآلة بصورة مباشرة
a)
Python لغة 
b)
 Java  لغة 
c)
Assembly   لغة 
d)
C#  لغة 
11.

ماهو مفهوم البرمجة ؟

a)

سلسلة من الأوامر تكتب بلغة معينة يفهمها جهاز الحاسب الآلي

b)

سلسة من الأوامر مكتوبة بلغة برمجة معينة تكتب لتنفيذ مهمة محددة

c)

جميع ما سبق

12.

اي مما يلي من خصائص مستخدم البرنامج ؟

a)

يفهم ويحلل مشكلة البرنامج

b)

يكتب اوامر البرمجة

c)

يرى الواجهة النهائية للبرنامج

13.

يمكن استخدام البرمجة في ...؟

a)

المنزل

b)

الشارع

c)

المستشفيات

d)

جميع ما سبق

14.

اي العبارات التالية غير صحيحة ؟

a)

في لغات البرمجة الإجرائية يمكن استخدام الكائن عدة مرات داخل البرنامج

b)

لا يوجد فرق بين المبرمج ومستخدم البرنامج

c)

جميع لغات البرمجة العالية لها مترجم واحد يقوم بتحويل برامجها

15.

لغة الآلة سهلة جدا ؟

a)

صح

b)

خطأ

16.

اي مما يلي ليس من اوامر البرمجة الاساسية ؟

a)

الإدخال

b)

الحساب

c)

التكرار

d)

الحذف

17.

اي مما يلي ليست من لغات البرمجة بالكائنات ؟

a)

C++

b)

Visual Basic

c)

C

d)

Java

18.

اي مما يلي ليست من لغات البرمجة بالكائنات ؟

a)

C++

b)

Visual Basic

c)

C

d)

Java

19.

هو مجموعة من التعليمات المكتوبة بإحدى لغات البرمجة لحل مشكلة ما على الحاسوب

a)

البرنامج

b)

نظام التشغيل

c)

لغة البرمجة

20.

هو سؤال أو موقف صعب يحتاج الى اجابة

a)

المشكلة

b)

البرنامج

c)

لغة البرمجة

21.

أول خطوات حل المشكلة هي

a)

تحديد المشكلة

b)

ترجمة الخوارزمية الى مخطط تدفق

c)

عمل الخوارزمية

22.

Java keywords are written in lowercase as well as uppercase.

a)

True

b)

False

23.

Choose the appropriate data type for the field: isStudent

a)

String

b)

Float

c)

Boolean

d)

Char

24.

Object-Oriented Programming means ...

a)

Being objective about what you develop

b)

Designing the application based on the objects discovered when analysing the problem

c)

Writing an algorithm before writing your program and having a test plan

d)

Writing a program composed of Java classes

25.

An object could be ...

a)

Anything

b)

An algorithm

c)

A data container

d)

Method

26.

If we declare int [ ] numbers = {1,2,3,4,5,6}; The size of array numbers is:

a)

three

b)

four

c)

five

d)

six

27.

If you want your conditional to depend on two conditions BOTH being true, what is the proper notation to put between the two Boolean statements ?

a)

||

b)

&&

c)

!=

d)

==

28.
A variable is used to:
a)
Store a value in memory
b)
Draw a circle
c)
Store a value that does not change
d)
Draw a rectangle
29.
What is at the end of a line of code?
a)
#
b)
;
c)
)
d)
>
30.

Which of the following is NOT part of defining a function?

a)

Giving the function a name

b)

Identifying the parameters of the function

c)

Giving the parameters a value

d)

Adding code to the body of the function

31.

What are "comments" in code for

a)

sharing code with other programmers

b)

remembering their own thoughts or plans for code they write.

c)

both option 1 & option 2

d)

None of these

32.

Documentation is

a)

a collection of commands made available to a programmer

b)

a description of the behavior of a command, function, library, API, etc.

c)

a collection of commands / functions, typically with a shared purpose

d)

An extra piece of information that you pass to the function to customize it for a specific need.

33.

Abstraction is

a)

a named group of programming instructions. Functions are reusable abstractions that reduce the complexity of writing and maintaining programs

b)

a simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.

c)

a problem solving approach (also known as stepwise design) in which you break down a system to gain insight into the sub-systems that make it up.

34.

Iterate means

a)

To repeat in order to achieve, or get closer to, a desired goal.

b)

A generic term for a type of programming statement (usually an if-statement) that uses a Boolean condition to determine, or select, whether or not to run a certain block of statements.

c)

Putting commands in correct order so computers can read the commands.

35.
A string is used for storing:
a)
Numbers
b)
Integers
c)
Images
d)
Text
36.
In the following code:
var add = function(num1, num2) {   
return num1 + num2;
};
The function will receive two numbers and: 
a)
Add them
b)
Return them
c)
Add them then return their sum
d)
Find their difference