Thứ Sáu, 10 tháng 1, 2014

Dien thoai di dong

1.       Cong ty nao xay dung va phat trien he dieu hanh Android
*Android Inc.
Apple
Nokia
Google

2.       Android la gi?
*He dieu hanh may tinh
Ngon ngu lap trinh
Co so du lieu
He dieu hanh mobile

3.       Cong ty nao da mua lai Android
*Google
Apple
Nokia
Samsung

4.       Nhung dac trung nao la cua Android support
*Tat ca cac dap an deu dung
Da tac vu
Bluetooth
Video Calling

5.       Android duoc phat trien dua tren nen tang la ngon ngu nao sau day?
*Java
C#
VC++
C++

6.       Nhan cua Android xay dung dua tren nen tang cua:
*Linux kernel
Window kernel
Mac kernel
Hybrid kernel

7.       Ma bien dich nao duoc su dung khi compiler Android code
*Dex
AIC
DIC
APK

8.       Trong mot ung dung android, thu muc nao chua ma lap trinh Android code
*src/
res/
assets/
bin/

9.       Cong Bluetooth co duoc Android ho tro hoan toan khong?
*co
khong
chi nhan
chi gui

10.     Dien cho du cau: ....xac dinh ky tu nhap vao dau tien se doi thanh chu hoa.
*Android:capitalize
Android:autotext
Android:digits
Android:singleLine

11.     Mot man hinh lam viec ma nguoi su dung nhin thay tai mot thoi diem duoc goi la
*Activity
Service
Gui
Application

12.     Thanh phan nao ho tro viec truyen du lieu giua cac ung dung trong android
*Content
Application
Service
Resource

13.     File .xml nao chua cac khai bao bien va du lieu cho lap trinh Android
*string.xml
web.xml
manifest.xml
text.xml

14.     Android co kha nang chay truc tiep ma nguon java duoc khong?
*Khong
Co
Chay tren nen Web Browser
Chay trong mot ung dung nao do.

15.     Moi mot ung dung lap trinh trong android duoc lap trinh dua tren ke thua lop
*Activity
GUI
Application
Class

16.     Thu muc res/ trong ung dung cua android co nghia la
*Resource
Java Source code
application
static files

17.     File R trong lap trinh android duoc?
*Tu dong sinh ra
Sinh ra bang cach bien dich thu cong
Mo phong may ao
Khong co dap an dung

18.     Dang File nao khong duoc Android ho tro
*AVI
MPEG
MP3
MIDI

19.     De tao giao dien cho nguoi dung trong lap trinh Android nguoi ta dung
*Java hoac XML
Java
XML
Eclipse

20.     Cac ung dung trong android duoc xay dung bang ngon ngu lap trinh nao?
*Java
C++
.NET
Tat ca cac dap an khac deu dung

21.     Thuoc tinh nao ap dung de android chi cho phep nhap so vao EditText
*Android:digits
Android:autotext
Android:singleLine
Android:gravity

22.     De xay dung ung dung android nguoi ta can
*SDK
ADK
APK
MDK

23.     Cac file nao sau day duoc su dung de tao layout cho man hinh ung dung android
*Layout file
String.xml
R file
Manifest

24.     File xml nao chua cac khai bao cau hinh ung dung trong android
*AndroidManifest.xml
Build.xml
Android.xml
R file

25.     Cai dat MIME document encoding trong android su dung
*UTF-8
BCD
ASCIIEE
EBCDIC

26.     Co the su dung ma code nao sau day trong lap trinh android: 1-java, 2-C++:
*1 va 2
1
2
ca 2 deu khong duoc

27.     Lap trinh java tren android co ho tro Swing, AWT khong?
*Khong
Co
Chi ho tro phan Swing
Chi ho tro phan AWT

28.     Eclipse la cai gi?
*IDE
Cong cu cua Android
Giao dien cua android
Chang la cai gi ca

29.     Goi du lieu nao tro giup viec lap trinh truy cap mang trong android
*android.net
java.net
android.class
java.class

30.     De lap trinh C/C++ cho android nguoi ta su dung
*NDK
SDK
JDK
MDK

31.     Phuong thuc nao sau day duoc su dung de tim mot view trong layout khi lap trinh java android
*findViewById()
getViewbyId()
getRootView()
getParrent

32.     File nao sau day chua tat ca cac thanh phan duoc khai bao va xay dung trong android
*Manifest
R file
Layout File
String XML

33.     De the hien mot nhan tren man hinh lam viec cua androi nguoi ta su dung cong cu
*TextView
EditText
Button
ListView

34.     Phan tu user-permission duoc them vao, cho phep nguoi su dung thuc hien cong viec nao do, thuoc file nao
*AndroidManifest
R file
Manifest
Layoutfile

35.     Ma .dex trong android co nghia la?
*Davik executables.
Davik extension
Decimal excutables
Decimal extension

36.     Cac dich vu duoc cung cap boi he dieu hanh android la nhung gi? 1)location 2)cam ung da diem 3)Wifi 4)dien toan dam may
*1,2,3 va cac dich vu khac
1,2,4 va cac dich vu khac
tat ca cac dich vu tren
khong cung cap dich vu nao

37.     De thao tac voi thoi gian he thong khi lap trinh java trong android thi dung goi du lieu nao
*java.util.*
java.lang.*
java.net.*
java.awt.*

38.     To hop cong nghiep nao da mua lai ban quyen android.
*google
microsoft
samsung
nokia

39.     Cac thanh phan cua mot file .APK gom? 1)ma nguon 2)Delvik Executable
*ca 1 va 2
1
2
khong chua thanh phan nao trong liet ke

40.     Bo bien dich Dex dich va chuyen doi ma nguon thanh ma byte duoc goi la
*Delvik byte code
java byte code
Android byte code
Davik byte code

41.     Loai intent nao duoc su dung cho viec gui nhan du lieu
*Implicit intent
Explicit intent
Khong co loai nao
Tat ca cac loai

42.     Doi tuong thanh phan nao sau day duoc dung de tich hop anh khi thiet ke man hinh trong moi  activity
*ImageView
ImageButton
ImageView va ImageButton
TextView

43.     Cong cu nao la yeu cau bat buoc phai co khi phat trien ung dung android
*SDK
JDK
Java
C/C++

44.     AVD co nghia la gi?
*Android Virutal Device
Application Virtual Device
Android Video Device
Application Video Device

45.     Thu muc nao chua ma cua ung dung android sau khi bien dich
*bin/
res/
src/
assets/

46.     goi APK chua ma dang file nao
*.dex
.doc
.xml
.xls

47.     Thu muc “assets/” dung de chua?
*cac file ma nguon
cac tai nguyen cua android
cac khai bao cua android
cac file tinh (static files).

48.     He dieu hanh android duoc xay dung va phat trien dua tren nen tang nhan cua he dieu hanh nao
*Linux kernel
Unix kernel
Windows kernel
MacOS kernel

49.     Kieu thanh phan MIME se duoc dung cho nguon file
*text/html
text
html
doc

50.     Thuoc tinh nao sau day duoc su dung de cho phep nguoi dung nhap du lieu vao mot hay nhieu dong
*android:singleLine
android:autotext
android:digits
android:captitalize

51.     Co so du lieu nao duoc tu dong dung va ho tro cho android
*SQLite
mySQL
SQL
Oracle

52.     APK nghia la gi?
*Application Package File
Application Package Kit
Android Package File
Android Package Kit

53.     Android la mot he thong
*he thong mo
he thong dong
he thong mo gioi han
he thong mien phi

54.     ADT trong android co nghia la gi
*Android Development Tools
Android Dynamic Tools
Android Document Tools
Appication Development Tools

55.     DVM se kich hoat ma file dang nao
*.dex
.exe
.java
.class

56.     May ao java thuoc loai nao sau day
*DVM
JVM
SDK
JDK

57.     Dau “+” trong cu phap  android:id=”+id/my_id” co y nghia gi?
*tao ra dinh danh moi va them vao trong tai nguyen (*)
dinh danh doi tuong trong tai nguyen (**)
Ca (*) va (**)
Khong co y nghia gi.

58.     He thong Android su dung doi tuong intent de thuc hien
*Tat ca cac dap an khac deu dung.
Truyen du lieu giua cac ung dung
Truyen du lieu giua cac Activity
Khai bao cac dich vu he thong xu ly du lieu

59.     Voi mot ung dung android thi phien ban nao su dung lam target toi thieu.
*1.6 hoac 2.0
1.0 hoac 1.1
1.2 hoac 1.3
2.3 hoac 2.0

60.     Google mua lai Android nam nao?
*2005
2007
2008
2010

61.     Chon nickname dung la mot phien ban cua he dieu hanh android
*Gingerbread
BlackBerry
Nokia Lumia
Samsung Galaxy

62.     Hang dien thoai di dong nao khong su dung he dieu hanh android cho may?
*Nokia
Samsung
HKPhone
BlackBerry

63.     He dieu hanh Android duoc xay dung tren nen tang Linux boi cac ly do nao?
*Tat ca cac dap an khac deu dung
Sercurity (Bao mat)
Portability(Di dong)
Networking(mang)

64.     Khi phat trien ung dung cho Android OS, java byte code se duoc bien dich thanh?
*Dalvik byte code
Bynary code
Java Source code
C++ Source code

65.     R.java file la file duoc dung de sua ma nguon?
*Sai
Dung
Khong chon dap an nay.
Khong chon dap an nay.

66.     Chon chuc nang dung nhat cua file AndroidManifest
*Xac dinh cac dieu kien cho phep cua ung dung
Liet ke cac bien su dung trong ung dung
Chua ma nguon
Chua ma giao dien dang xml

67.     Thanh phan nao sau day se nam trong file Layout xml cua Android
*Cac huong cac Layout hien thi thanh phan giao dien
Xac dinh cac dieu kien cho phep cua ung dung.
Cac chuoi du lieu dung trong ung dung.
Ma ma nguon dung de bien dich chay ung dung.

68.     Chuc nang cua cac thiet bi mo phong trong Android la?
*Chay cac ung dung tuong tu nhu thiet bi Android
Tao cac may ao cho Android
hien thi cac layout sau khi thiet ke
Bien dich ma nguon thanh ma may thich ung tren android

69.     Mot Activity trong ung dung Android co the tuong ung voi
*Mot Java class
Mot Java Project
Mot method cua java
mot Object trong java

70.     File nao se qui dinh cu the cac thanh phan xuat hien tren man hinh ung dung android
*Layout file
AndroidManifest file
String XML file
R.java file

71.     De cai dat kich co cua mot Layout co chieu ngang bang voi chieu ngang man hinh dien thoai, hay chon
*android:layout_width=”match_parent” (*).
android:layout_width=”wrap_content” (**).
Ca (*) va (**)
Khong dap an nao dung.

72.     Dat kich co Layout vua khit voi thanh phan ben trong thi chon?
*android:layout_width=”wrap_content” (*).
android:layout_width=”match_parent” (**).
Ca (*) va (**)
Khong dap an nao dung.

73.     De hien thi mot layout co ten la A1 len man hinh ta dung phuong thuc
*setContentView(R.layout.A1);
setContentView(R.id.A1);
setContentView(R.A1);
setContentView(A1);

74.     De qui chieu mot TextView co ten la T1, vao bien TextView myTV ta dung?
*myTV=(TextView) findViewById(R.id.T1);
myTV=(TextView) findViewById(R.layout.T1);
myTV=(TextView) findViewById(R.T1);
myTV=(TextView) findViewById(T1);

75.     Mot TextView duoc cai dat cac thuoc tinh nhu sau:[CR] <TextView android:id="@+id/textView1"[CR]  android:layout_width="match_parent" [CR] android:layout_height="wrap_content" [CR] android:gravity="center" [CR] android:text="This is main Activity" [CR] android:textColor="#FFFF00" [CR] android:textSize="20sp" [CR] android:textStyle="bold" /> [CR] Khi do, do cao cua TextView se la
*Cao bang kich co van ban
Toan man hinh
mot nua man hinh
2/3 man hinh

76.     Mot TextView duoc cai dat cac thuoc tinh nhu sau: [CR] <TextView android:id="@+id/textView1"[CR] android:layout_width="match_parent"[CR] android:layout_height="wrap_content" [CR] android:gravity="center" [CR] android:text="This is main Activity" [CR] android:textColor="#FFFF00" [CR] android:textSize="20sp" [CR] android:textStyle="bold" /> [CR] Khi do, TextView se hien thi can le
*Can le giua
Can le trai
Can le phai
Can deu 2 ben man hinh

77.     Mot TextView duoc cai dat cac thuoc tinh nhu sau:  [CR] <TextView android:id="@+id/textView1" [CR] android:layout_width="match_parent"[CR] android:layout_height="wrap_content"  [CR] android:gravity="center" [CR] android:text="This is main Activity" [CR] android:textColor="#FFFF00" [CR] android:textSize="20sp" [CR] android:textStyle="bold" /> [CR] Khi do, Ten goi cua TextView la
*TextView1
TextView
Activity
MainActivity

78.     Mot TextView duoc cai dat cac thuoc tinh nhu sau:  [CR] <TextView android:id="@+id/textView1" [CR] android:layout_width="match_parent" [CR] android:layout_height="wrap_content" [CR] android:gravity="center" [CR] android:text="This is main Activity" [CR] android:textColor="#FFFF00" [CR] android:textSize="20sp" android:textStyle="bold" />[CR]  Khi do, Ten goi cua TextView la
*TextView1
TextView
Activity
MainActivity

79.     Mot Layout trong android co dang sau: [CR]  <LinearLayout xmlns:android="<http://schemas.android.com/apk/res/android>" xmlns:tools="<http://schemas.android.com/tools>"[CR] android:id="@+id/LinearLayout1"[CR] android:layout_width="match_parent" [CR] android:layout_height="match_parent"[CR] android:orientation="vertical" tools:context=".MainActivity" > [CR] Khi do, cac thanh phan trong khi thiet ke se duoc tu dong dat theo?
*doc theo man hinh
ngang theo man hinh
dat o dang luoi
dat o vi tri bat ky dua tren vi tri thanh phan truoc

80.     Mot Layout trong android co dang sau: [CR]  <LinearLayout xmlns:android="<http://schemas.android.com/apk/res/android>" xmlns:tools="<http://schemas.android.com/tools>" [CR] android:id="@+id/LinearLayout1" [CR] android:layout_width="match_parent" [CR] android:layout_height="match_parent" [CR] android:orientation="horizontal" tools:context=".MainActivity" > [CR] Khi do, cac thanh phan trong khi thiet ke se duoc tu dong dat theo?
*ngang theo man hinh
doc theo man hinh
dat o dang luoi
dat o vi tri bat ky dua tren vi tri thanh phan truoc

81.     Relative Layout la dang layout se cho phep cac doi tuong dat tren man hinh theo nguyen tac
*Vi tri cac canh man hinh va vi tri cac doi tuong truoc
Vi tri cac canh man hinh
Vi tri cac doi tuong truoc
Theo chieu ngang cua man hinh

82.     Mot Relative Layout duoc cai dat nhu sau: [CR]  <RelativeLayout xmlns:android=<http://schemas.android.com/apk/res/android> [CR] android:layout_width="fill_parent" [CR] android:layout_height="fill_parent"> [CR] Khi do, kich co cua layout nay hien thi tren man hinh dien thoai nhu the nao?
*Bao phu toan man hinh theo chieu ngang va chieu doc
Bao phu toan bo theo chieu ngang, chieu doc phu kin cac doi tuong ben trong
Bao phu toan bo theo chieu doc, chieu ngang phu kin cac doi tuong ben trong
Bao phu kin cac doi tuong ben trong.

83.     Mot Relative Layout duoc cai dat nhu sau: [CR] <RelativeLayout xmlns:android=<http://schemas.android.com/apk/res/android> [CR] android:layout_width="wrap _content" [CR] android:layout_height="fill_parent"> [CR] Khi do, kich co cua layout nay hien thi tren man hinh dien thoai nhu the nao?
*Bao phu toan bo theo chieu doc, chieu ngang phu kin cac doi tuong ben trong
Bao phu toan man hinh theo chieu ngang va chieu doc
Bao phu toan bo theo chieu ngang, chieu doc phu kin cac doi tuong ben trong
Bao phu kin cac doi tuong ben trong.

84.     Mot Relative Layout duoc cai dat nhu sau: [CR] <RelativeLayout xmlns:android=<http://schemas.android.com/apk/res/android> [CR] android:layout_width="fill_parent " [CR] android:layout_height="wrap _content "> [CR] Khi do, kich co cua layout nay hien thi tren man hinh dien thoai nhu the nao?
*Bao phu toan bo theo chieu ngang, chieu doc phu kin cac doi tuong ben trong
Bao phu toan bo theo chieu doc, chieu ngang phu kin cac doi tuong ben trong
Bao phu toan man hinh theo chieu ngang va chieu doc
Bao phu kin cac doi tuong ben trong.

85.     Mot Relative Layout duoc cai dat nhu sau: [CR] <RelativeLayout xmlns:android=<http://schemas.android.com/apk/res/android> [CR] android:layout_width="wrap_content " [CR] android:layout_height="wrap _content "> [CR] Khi do, kich co cua layout nay hien thi tren man hinh dien thoai nhu the nao?
*Bao phu toan bo theo chieu ngang, chieu doc phu kin cac doi tuong ben trong
Bao phu toan bo theo chieu doc, chieu ngang phu kin cac doi tuong ben trong
Bao phu toan man hinh theo chieu ngang va chieu doc
Bao phu kin cac doi tuong ben trong.

86.     Gia su co 2 Activity A1 va A1, mot doi tuong intent la i. De gui mot so nguyen x tu A1 sang A2 qua i ta su dung
*i.putExtra(“value1”,x)
i. putExtra(A1,x)
i.putExtra(A2,x)
i. putExtra(A1,A2,x)

87.     Gia su co 2 Activity A1 va A1, mot doi tuong intent la i. De nhan mot so nguyen x gui tu A1 sang A2 qua i ta su dung phuong thuc nao?
*getInt();
getExtra();
putExtra();
get();

88.     Gia su co 2 Activity A1 va A2, de tao mot doi tuong Intent gui thong tin  tu A1 den A2 thi ta su dung cu phap?
*Intent  i = new Intent(this, A2.class)
Intent  i = new Intent(A1, A2.class)
Intent  i = new Intent(A1, A2)
Intent  i = new Intent(A2.class)

89.     Doi tuong nao khong phai la layout trong thiet ke giao dien dien thoai?
*ListView
Frame
Linear
Relative

90.     Doi tuong nao la mot layout trong thiet ke giao dien?
*Relavtive
ListView
TextView
EditText

91.     Doi tuong nao la mot layout trong thiet ke giao dien?
*Linear
ListView
TextView
EditText

92.     Doi tuong nao la mot layout trong thiet ke giao dien?
*Frame
ListView
TextView
EditText

93.     Mot EditText duoc thiet ke va dat ten la edt1, neu muon qui chieu den no bang bien EditText E1 khi lap trinh thi ta dung cu phap nao?
*E1=(EditText) findViewById(R.id.edt1);
E1=findViewById(R.id.edt1);
E1=(EditText) findViewById(R.layout.edt1);
E1=(EditText) findViewById(R.edt1);

94.     Mot Button duoc thiet ke va dat ten la btn1, neu muon qui chieu den no bang bien Button b1 khi lap trinh thi ta dung cu phap nao?
*b1=(Button) findViewById(R.id.btn1);
b1=(Button) findViewById(R.btn1);
b1=(Button) findViewById(btn1);
b1=findViewById(R.id.btn1);

95.     Mot EditText duoc thiet ke va dat ten la etd1 duoc thiet ke trong va qui chieu vao bien EditText E1, de dat mot chuoi S1 vao doi tuong nay ta dung cu phap
*E1.setText(S1.toString());
E1.getText(S1.toString());
etd1.setText(S1.toString());
etd1.getText(S1.toString());

96.     Mot EditText duoc thiet ke va dat ten la etd1 duoc thiet ke trong va qui chieu vao bien EditText E1, de nhan ket qua tu doi tuong nay va dat vao chuoi S1 ta dung cu phap
*S1=E1.getText().toString();
S1=E1.setText().toString();
S1=edt1.getText().toString();
S1=edt1.setText().toString();

97.     Trong lap trinh Android co may 5 loai Layout co ban, do la?
*Frame, Linear, Table, Relative, Absolute.
TextView, ListView, Table, Relative, Absolute.
Button, ListView, Table, Relative, Absolute.
Frame, ImageView, Table, Relative, ListView.

98.     Mot Layout sau khi thiet ke se cho phep cac doi tuong dat trong no chi theo mot huong: tren-> duoi hoac trai->phai  thi no thuoc loai?
*LinearLayout
FrameLayout
RelavtiveLayout
AbsoluteLayout

99.     Mot Layout sau khi thiet ke se cho phep cac control dat trong no dua tren vi tri tuong doi cua cac control khac  (lien he voi nhau) thi no thuoc loai?
*RelavtiveLayout
LinearLayout
FrameLayout
AbsoluteLayout

100.   Mot Layout sau khi thiet ke se cho phep cac control dat trong no dua tren vi tri tuy thich thi no thuoc loai?
*AbsoluteLayout
RelavtiveLayout
LinearLayout
FrameLayout

101.   Mot EditText duoc thiet ke va dat ten la etd1 duoc thiet ke trong va qui chieu vao bien EditText E1, de dat mot so nguyen x vao doi tuong nay ta dung cu phap
*E1.setText(String.valueOf(x).toString());
E1.setText(x.toString());
edt1.getText(String.valueOf(x).toString());
edt1.setText(String.valueOf(x).toString());

102.   Gia su x la mot bien kieu String, x nhan gia tri tu EditText la mot chuoi so. Neu muon chuyen sang kieu so nguyen va dat vao bien a kieu int thi ta dung cu phap?
*a=Integer.parseInt(x);
a=Integer(x);
a=parseInt(x);
a=Integer.parse(x);

103.   Gia su x la mot bien kieu String, x nhan gia tri tu EditText la mot chuoi so. Neu muon chuyen sang kieu so nguyen va dat vao bien d kieu double thi ta dung cu phap?
*d=Double.parseDouble(x);
d=Double.parseDouble(x);
d=Double.parseDouble(x);
d=Double.parseDouble(x);

104.   Neu muon hien thi thong tin tren man hinh dien thoai ma khong cho phep nguoi dung chinh sua thi ta dung control thuoc loai nao?
*TextView

105.   Neu muon hien thi thong tin tren man hinh dien thoai va cho phep nguoi dung chinh sua thi ta dung control thuoc loai nao?
*EditText

106.   Su kien kich chuot thuong duoc ap dung  thuc hien voi control nao?
*Button
107.   De thiet ke mot Layout ta co the dung cach nao
*Ca (*) va (**)

108.   Voi mot Layout dang Linear duoc cai dat thuoc tinh android:orientation=”horizontal” thi cac control trong no se co dang
*dat theo huong tu trai qua phai

109.   Voi mot Layout dang Linear duoc cai dat thuoc tinh android:orientation=”vertical” thi cac control trong no se co dang
*dat theo huong tu tren xuong duoi
110.   Thuoc tinh gravity duoc su dung cho cac control khi thiet ke co tac dung gi?
*can le