Font size
WorksheetsAndroid Quiz 05
Total questions: 20
Worksheet time: 3600secs
int[] salarys = new int[3] ;
salarys[0] = "2000";
salarys[1] = "1500";
salarys[2] = "1200";
int rslt = salarys[0] + salarys[2] ;
The value of rslt is :
20001200
3200
3500
i dont think so
String[] names = new String[3] ;
names[0] = "ahmed" ;
names[1] = "ali" ;
names[2] = "kalid" ;
names[3] = "mostafa" ;
int rslt = names.length ;
The Value of rslt is :
3
4
0
i dont think so
we must set initial value to array elements
يجب علينا اعطاء قيم افتراضية لعناصر المصفوفة
True
False
String[] jobs = new String[]{} ;
jobs[0] = "Accountant" ;
jobs[1] = "Developer" ;
jobs[2] = "Designer" ;
jobs[3] = "Coder" ;
what is the length of this array
3
4
unknown
i dont think so
Standard Array like (String[] teams) or (int[] salary) support
المصفوفات القياسية تدعم
Primitive Data Types
Object Data Types
Primitive and Object Data Types
i dont think so
ArrayList like
ArrayList<int> items = new ArrayList<int>()
support ...
قائمة المصفوفات تدعم
Primitive Data Types
Object Data Types
Primitive and Object Data Types
i dont think so
String[] employees = new String[3];
employees[0] = "Rahma";
employees[1] = "Hoda";
employees[2] = "Wareef";
int rslt = employees.size();
The Value of rslt is :
قيمة المتغير rslt
2
3
4
i dont think so
we use ArrayList to save dynamic data , so its not Class
نحن نستخدم قائمة المصفوفات لحفظ البيانات المتغيرة لذلك هي لا تعتبر كلاس
True
False
String[] employees = new String[5];
employees[0] = "Ahmed";
employees[1] = "Said";
employees[2] = "Seif";
String rslt = employees.get(2);
The Value of rslt is
قيمة المتغير سوف تكون
Said
said
Seif
seif
i dont think so
String[] movies= new String[10];
can we remove some elements from movies array on RunTime
هل يمكننا حذف بعض العناصر من المصفوفة وقت التشغيل
True
False
String[] movies= new String[5];
can we update some elements Data inside movies array at RunTime
هل يمكننا تعديل بيانات بعض العناصر في المصفوفة وقت التشغيل
True
False
i dont think so
String[] students = new String[20];
students[0] = "Ahmed";
students[1] = "Said";
students[2] = "Seif";
students[3] = "Mona";
what is the Capacity of this array ?
3
4
20
dynamic
i dont think so
What’s the attribute of TextView that displays a text that goes away once you write something?
ما هي الخاصية الخاصة باداة عرض النصوص التي تمكنني من وضع نص مؤقت يختفي عند محاولة الكتابة داخل الاداة
hint
description
emptyText
text
i dont think so
if we need to set icon for our App where can we save it ?
values
mipmap
icons
layout
i dont think so
we use int dataType to represent positive integers only
نحن نستخدم نوع البيانات
int
لتمثيل الاعداد الصحيحة الموجبة فقط
True
False
we must define id attribute for each elements inside layout
يجب علينا تعريف
id
لكل العناصر الموجودة في التخطيط
True
False
can we override any final method from super class to subclass by use (override) keyword
True
False
What of the following are types of intent? [ choose all that apply ]
اي من التالي يعتبر انواع من
intent
Implicit Intent
Explicit Intent
Direct Intent
Indirect Intent
Android uses _________ to manage audio playback on the device.
Audio Focus
Audio Player
Media Player
Media Manager
i dont think so
What Class we use to manage audio focus ?
ما هو الكلاس المستخدم لادارة تركيز الصوت
AudioFocusManager
AudioManager
AudioFocus
MediaManager
Mediaplayer
