Вы находитесь на странице: 1из 152

Denumirea testului: Baze de date

ID test: Inform
ntrebri total n test: 361
Partea 1 50%: Numr de ntrebri - 180, ([49,86%]-27,7%-22,44% ).
Partea 2 30%: Numr de ntrebri - 100, (49,86%-[27,7%]-22,44% ).
Numrul total de grupuri (teme): 23
------------------------------------------------------------------------------------------Partea 1 50%: Numr de ntrebri - 180, (49,86%).
Grupul (tema): T01.BDExcelModelEcFunc
ntrebarea 1.
_ (. 1) A3:B14.

. 1 E1
D1 .
E1
D1 1 12,
!!!, D1 1 12?
Variante de rspuns:
1. =IF(ISNA(VLOOKUP(D1; _;1;0));" !!!";
VLOOKUP(D1; _;1;0))
2. =IF(VLOOKUP(D1; _;1;0)="#N/A";" !!!";
VLOOKUP(D1; _;1;0))
3. =IF(VLOOKUP(D1; _;2;0)="#N/A";" !!!";
VLOOKUP(D1; _;2;0))
4. =IF(ISNA(VLOOKUP(D1; _;2;0));" !!!";
VLOOKUP(D1; _;2;0))
ntrebarea 2.
() ?
Variante de rspuns:
1. =YEARFRAC("01.01.2011";"01.01.2111";0)
2. =YEAR(DATE(2011;3;26))
3. =YEAR(NOW())
1

4. =YEAR(DATE(2011;0;0))
ntrebarea 3.
_ (. 1.) , ,
( A3:D14).

. 1. G1
F1 .
G1
F1 1 12
!!! F1 1 12?
Variante de rspuns:
1. =IF(ISNA(VLOOKUP(F1; _;4;0));" !!!";
VLOOKUP(F1; _;4;0))
2. =IF(ISERR(VLOOKUP(F1; _;2;0));" !!!";
VLOOKUP(F1; _;2;0))
3. =IF(ISERR(VLOOKUP(F1; _;4;0));" !!!";
VLOOKUP(F1; _;4;0))
4. =IF(ISNA(VLOOKUP(F1; _;2;0));" !!!";
VLOOKUP(F1; _;2;0))
ntrebarea 4.
(. 1.) , ,
, Q3:Q16
.

. 1.
, .
2

D3
, - B3 - C3,
- , :
!!! - B3 - C3?
Variante de rspuns:
1. =IF(NOT(OR(ISBLANK(B3);ISBLANK(C3)));NETWORKDAYS(B3;C3; );"
: !!!")
2. =IF(OR(ISBLANK(B3);ISBLANK(C3));NETWORKDAYS(B3;C3; );" :
!!!")
3. =IF(NOT(ISBLANK(B3));NETWORKDAYS(B3;C3; );" :
!!!")
4. =IF(NOT(OR(ISBLANK(B3);ISBLANK(C3)));" : !!!";
NETWORKDAYS(B3;C3; ))
ntrebarea 5.
( 1) 6:46.
.
(.. C6:C46) .

1. ,
, .
6 (
6:46 )
( 5:46)?
Variante de rspuns:
1. =COUNT(C$6:C6)
2. =SUBTOTAL(2;C$6:C6)
3. =COUNTA(C$6:C6)
4. =SUBTOTAL(3;C$6:C6)
ntrebarea 6.
3

( 1) 6:46.
.
(.. B6:B46) . F1
F6:F46 ( )
( E5:E46).

1.
, ,
.
F1?
Variante de rspuns:
1. =MIN(G6:G46)
2. =SUBTOTAL(5;G6:G46)
3. =DMIN(G6;B6:G46;G1)
4. =SUBTOTAL(4;G6:G46)
ntrebarea 7.
( 1) 6:46.
.
(.. B6:B46) . F1
F6:F46 ( )
( E5:E46).

1.
, ,
.
D48 D6:D46
( F5:F46)?
Variante de rspuns:
1. =SUBTOTAL(2;D6:D46)
2. =SUBTOTAL(5;D6:D46)
3. =SUBTOTAL(3;D6:D46)
4. =SUBTOTAL(9;D6:D46)
ntrebarea 8.
( 1)

1. ,
, .
A6
.
Variante de rspuns:
1. =Fisa!A6
2. =Fisa;A6
3. ="Fisa!"A6
4. =Fisa:A6
ntrebarea 9.
( 1) 6:46.
.
(.. B6:B46) . F1
F6:F46 ( )
( E5:E46).

1.
, ,
.
E1,
( E5:E46)?
Variante de rspuns:
1. =INDIRECT(CONCATENATE("F";G1))
2. =INDIRECT("F";G1)
3. =INDIRECT("F6")
4. =CONCATENATE("F";G1)
ntrebarea 10.
( 1)
: D1 , , ,
, , I ,
, K , L

, AA .

1. , .
6

L7 , ,

K7 AA7 D1 ,
!!!.
Variante de rspuns:
1. =IF(ISNUMBER($D$1);ROUND((I7*J7)/($D$1*($D$1-K7+$ AA 7));2);" !!!")
2. =IF(ISNUMBER($D$1);ROUND((I7*J7)/$D$1*($D$1-(K7+$ AA 7));2);" !!!")
3. =IF(ISBLANK($D$1);ROUND((I7*J7)/$D$1*($D$1-(K7+$ AA 7));2);" !!!")
4. =IF(ISBLANK($D$1);" !!!"; ROUND((I7*J7)/$D$1*($D$1-(K7+$ AA 7));2))
ntrebarea 11.
( 1)
: B2 (),
6:47, , , ,
, , ,
,
.
( C6:C47).

1. , .
A2?
Variante de rspuns:
1. =SUBTOTAL(2;C5:C45)
2. =SUBTOTAL(3;C5:C45)
3. =COUNT(C5:C45)
4. =COUNTA(C5:C45)
ntrebarea 12.
( 1)
: B2 (),
6:47, , , ,
, , ,
,
.
( C6:C47).

1. , .
B2?
Variante de rspuns:
1. =SUBTOTAL(3;C5:C45)
2. =SUBTOTAL(2;C5:C45)
3. =COUNT(C5:C45)
4. =COUNTA(C5:C45)
Grupul (tema): T01.BDExcelModelEcProc
ntrebarea 13.
( 1):
B , C .
( 2).
6:46.

1. ,
.

2.
,


B5:B45
Variante de rspuns:
1.

B6:B46
[ ] => Data => DataValidation => Settings =>
Allow:=> Whole number
Data:=> between
Minimum:=> =
Maximum:=> =
2.
B6:B46
[ ] => Data => DataValidation => Settings =>
Allow:=> Text length
Data:=> egual to
Length:=> =
3.
B6:B46
[ ] => Data => DataValidation => Settings =>
Allow:=> List
Source:=> =

4.
B6:B46
[ ] => Data => DataValidation => Settings =>
Allow:=> Date
Data:=> egual to
Date:=> =

ntrebarea 14.
( 1).

1. , .
9

2.

( 2)
( 1:5) .
Variante de rspuns:
1. 1:5
Ctrl + C (Copy) =>
A1 =>
A1 Paste Special (figura 2) => All =>[OK]
2. 1:5
Ctrl + C (Copy) =>
A1 =>
A1 Paste Special (figura 2) => Formats
=>[OK]
3. 1:5
Ctrl + C (Copy) =>
A1 =>
A1 Paste Special (figura 2) => Value
=>[OK]
A1 Paste Special (figura 2) => Formulas
=>[OK]
4. 1:5
Ctrl + C (Copy) =>
A1 =>
A1 Paste Special ( 2) => Value =>[OK]
A1 Paste Special ( 2) => Formats
=>[OK]
ntrebarea 15.
(6:47). (. 1)
. A6
.

. 1. , .
A6:AR45?
Variante de rspuns:
1. A6:AR45
(. 2)
Home => Fill => Down
10

2.

Home => Fill => Right


2. A6:AR45
(. 2)
Home => Fill => Up
Home => Fill => Right
3. A6:AR45
(. 2)
Home => Fill => Up
Home => Fill => Left
4. A6:AR45
(. 2)
Home => Fill => Down
Home => Fill => Left
ntrebarea 16.
(. 1, 2) (4:45). . 1 AD5
ROUND , . 2 AD5
.

1. ,
2.
. AD5
. AD5
ROUND.

ROUND
?
Variante de rspuns:
1. ROUND
,
,
.
2.
ROUND,
MSExcel.
3. ROUND MSExcel
.
4. ROUND ( )
.
ntrebarea 17.
1:
11

1.
A4:A8,

( 2).
Variante de rspuns:
1. A4:A8
Data => Data Tools => Data Validation
Alow:=>Decimal
Data:=>Between
minimum:=> =DenumMater
maximum:=> =DenumMater
2. A4:A8
Data => Data Tools => Data Validation
Alow:=>Text length
Data:=>Less than
minimum:=> =DenumMater
3. A4:A8
Data => Data Tools => Data Validation
Alow:=>List
Source:=> =DenumMater
4. A4:A8
Data => Data Tools => Data Validation
Alow:=>Date
Data:=>Egual
date:=> =DenumMater
ntrebarea 18.
1:

2.
1.
A2:A6 (. 2)?
Variante de rspuns:
1. A2: Formulas =>Defined Names =>
Create from selection => top row
12

2. A2:A6 Formulas =>Defined Names=>


Define Name => name:=
3. A2:A6 Formulas =>Defined Names =>
Name Manager => => Edit
4. A2:A6 Formulas =>Defined Names =>
Use in formula => Paste names:=
ntrebarea 19.
(. 1) (A5:AL45), 4-
.

1. .
( 2) ( )
( )?
Variante de rspuns:
1.
A5:A45
Data => Sort => Sort by
Column:=>Col2
Sort On:=>Values
Order:=> A to Z
Acionm Add Level => Then By
Column:=>Col3
Sort On:=>Values
Order:=> A to Z
2.
A5:A45

Data => Sort => Sort by


Column:=>Col1
Sort On:=>Values
Order:=> Smallest to Largest
Acionm Add Level => Then By
Column:=>Col2
Sort On:=>Values
Order:=> A to Z
3.
13

2. D

A5:A45

Data => Sort => Sort by


Column:=>Col2
Sort On:=>Values
Order:=> Z to A
Acionm Add Level => Then By
Column:=>Col3
Sort On:=>Values
Order:=> A to Z
4.
A5:A45
Data => Sort => Sort by
Column:=>Col2
Sort On:=>Values
Order:=> Z to A
Acionm Add Level => Then By
Column:=>Col3
Sort On:=>Values
Order:=> Z to A
ntrebarea 20.
(. 1)
(A2:O42). .

1. .

2.

(. 2) A1:O42
: G ; N ; O
?
Variante de rspuns:
1. A1:O42 (
) ;
A1:O42
Data => Subtotal =>
14

At each change in:


Use function: Sum
Add subtotal to: , ,
2. A2:O42 (
) ;
A1:O42
Data => Subtotal =>
At each change in:
Use function: Sum
Add subtotal to: , ,
3. A1:O42
Data => Subtotal =>
At each change in:
Use function: Sum
Add subtotal to: , ,
4. A2:O42 (
) ;
A1:O42
Data => Subtotal =>
At each change in:
Use function: Product
Add subtotal to: , ,
ntrebarea 21.
( 1). Col2
. B41
1 .
,
( 2).

( 2)?

1. Col2
.

15

2.
.
Variante de rspuns:
1. , :
Data => Data Tools => Data Validation
Settings
Alow:=>List
Source:=> =
Input Message
Title:=>
Input Message:=>
Error Alert
Style:=> Warning
Title:=>
Error message:=> !!!
2. , :
Data => Data Tools => Data Validation
Settings
Alow:=>List
Source:=> =
Input Message
Title:=>:
Input Message:=>
Error Alert
Style:=> Information
Title:=>
Error message:=> !!!
3. , :
Data => Data Tools => Data Validation
Settings
Alow:=>List
Source:=> =Diviziune
Input Message
Title:=>
Input Message:=>
16

Error Alert
Style:=>Stop
Title:=>
Error message:=> !!!
4. , :
Data => Data Tools => Data Validation
Settings
Alow:=>List
Source:=> =Diviziune
Input Message
Title:=>
Input Message:=>
Error message:=> !!!
Error Alert
Style:=> Information
Title:=>
ntrebarea 22.
( 1). Col2
. B41
1 .
,
( 2).

( 2)?

1. Col2
.

17

2.
.
Variante de rspuns:
1. , :
Data => Data Tools => Data Validation
Settings
Alow:=>List
Source:=> =
Input Message
Title:=>:
Input Message:=>
Error Alert
Style:=> Information
Title:=>
Error message:=> !!!
2. , :
Data => Data Tools => Data Validation
Settings
Alow:=>List
Source:=> =
Input Message
Title:=>
Input Message:=>
Error Alert
Style:=> Warning
Title:=>
Error message:=> !!!
3. , :
Data => Data Tools => Data Validation
Settings
Alow:=>List
Source:=> =Diviziune
Input Message
Title:=>
18

Input Message:=>
Error message:=> !!!
Error Alert
Style:=> Information
Title:=>
4. , :
Data => Data Tools => Data Validation
Settings
Alow:=>List
Source:=> =Diviziune
Input Message
Title:=>
Input Message:=>
Error Alert
Style:=>Stop
Title:=>
Error message:=> !!!
Grupul (tema): T02.OrganizareaDatelor
ntrebarea 23.

?

Variante de rspuns:
1. 3 4
2. 1 2
3. 1 4
4. 2 3
ntrebarea 24.
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 25.
?
Variante de rspuns:
1. ()
2.
3.
19

4.
ntrebarea 26.
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 27.
.
( )?




Variante de rspuns:
1. 3 4
2. 2 4
3. 1 4
4. 1 2
ntrebarea 28.
?




Variante de rspuns:
1. 1, 2, 3
2. 2, 3, 4
3. 1, 2, 4
4. 1, 3, 4
ntrebarea 29.





Variante de rspuns:
1. 3 4
2. 2 4
3. 1 3
4. 1 4
ntrebarea 30.
20

?




Variante de rspuns:
1. 1 2
2. 3 4
3. 1 3
4. 2 3
ntrebarea 31.
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 32.
:
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 33.
?
Variante de rspuns:
1.
2. ,
3.
4.
ntrebarea 34.
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 35.
?



21


Variante de rspuns:
1. 3 4
2. 1 2
3. 2 4
4. 1 3
ntrebarea 36.
?






Variante de rspuns:
1. 1, 3, 5
2. 1, 2, 3
3. 2, 3, 4
4. 3, 4, 5
ntrebarea 37.
?
Variante de rspuns:
1.
2.
3.
4.

ntrebarea 38.
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 39.
?
Variante de rspuns:
1.
2.
3.
4.
22

ntrebarea 40.

Variante de rspuns:
1.
2.
3.
4.
ntrebarea 41.
-?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 42.
?


,


Variante de rspuns:
1. 1 4
2. 1 3
3. 2 3
4. 3 4
ntrebarea 43.
?


,

.
Variante de rspuns:
1. 3 4
2. 2 3
3. 1 4
4. 1 3
Grupul (tema): T03.FunctiiVbaAccess
ntrebarea 44.
( Dim i As Integer ) VBA
MS Access?
Variante de rspuns:
23

1. ' ====================================================
'
Dim i As Integer ' i .
' ====================================================
2. ' ====================================================
'
Dim i As Integer i .
' ====================================================
3. ' ====================================================
'
' i . ' Dim i As Integer
' ====================================================
4. ' ====================================================
'
' i . Dim i As Integer
' ====================================================
ntrebarea 45.
VBA MS Access:
Dim var1 As Integer: Dim var2 As Integer
var1 = 11: var2 = 4
var1 = var1 / var2
var1 ?
Variante de rspuns:
1. 3.25
2. 2.75
3. 4
4. 2
ntrebarea 46.
VBA MS Access:
Dim var1 As Integer
var1 = 11 \ 4
var1 = 9 \ 3
var1 = 100 \ 3
var1 = 67 \ -3
var1
?
Variante de rspuns:
1. 3; 2; 33; -22;
2. 2; 3; 33; -22;
3. -22; 3; 2; 33;
4. -22; 33; 3; 2;
ntrebarea 47.
VBA MS Access:
24

Dim var1 As Double


var1 = (-5) ^ 3
var1 = (-5) ^ 4
var1 = 8 ^ (1.0 / 3.0)
var1 = 8 ^ (-1.0 / 3.0)
var1
?
Variante de rspuns:
1. 625; -125; 0.5; 2;
2. 125; -625; 2; 0.5;
3. -125; 625; 2; 0.5;
4. 625; -125; 2; 0.5;
ntrebarea 48.
VBA MS Access:
Dim var1 As Double
var1= 47.9 Mod 9.35
var1= 10 Mod 5
var1= 10 Mod 3
var1= 12 Mod 4.3
var1= 12.6 Mod 5
var1
?
Variante de rspuns:
1. 2.6;1.15; 0; 1; 3.4;
2. 1.15; 0; 1; 3.4; 2.6;
3. 3.4; 1.15; 0; 1; 2.6;
4. 1.15; 0; 1; 34; 2.6;
ntrebarea 49.
VBA MS Access:
Function Exmpl_1 (ByVal length As Double, ByVal width As Double) As Double
Exmpl_1 = length * width
End Function
?
Variante de rspuns:
1. Exmpl_1
length i width.
2. Exmpl_1
length i width.
3. Exmpl_1
length i width.
4. Exmpl_1
length i width.
ntrebarea 50.
25

VBA MS Access:
Dim TestStr As String
()
?
Variante de rspuns:
1. TestStr = Format(Now(), "D")
2. TestStr = Format(Now(), "Long Time")
3. TestStr = Format(Now(), "Long Date")
4. TestStr = Format(Now(), "LT")
ntrebarea 51.
VBA MS Access:
Dim TestStr As String
Dim TestDateTime As Date : TestDateTime = #1/27/2001 5:04:23 PM#
05:04:23 PM TestStr?
Variante de rspuns:
1. TestStr = Format(TestDateTime, "hh:mm:ss tt")
2. TestStr = Format(Now(), "Long Time")
3. TestStr = Format(TestDateTime, "dddd, MMM d yyyy")
4. TestStr = Format(TestDateTime, "HH:mm:ss")
ntrebarea 52.
VBA MS Access:
Dim SearchString As String : SearchString = "XXpXXpXXPXXP"
Dim SearchChar As String : SearchChar = "P"
Dim TestPos As Integer
4 TestPos =6?
Variante de rspuns:
1. TestPos = InStr(1, SearchString, SearchChar, CompareMethod.Text)
2. TestPos = InStr(4, SearchString, SearchChar, CompareMethod.Text)
3. TestPos = InStr(4, SearchString, SearchChar, CompareMethod.Binary)
4. TestPos = InStr(1, SearchString, SearchChar, CompareMethod.Binary)
ntrebarea 53.
VBA MS Access:
Dim TestString As String : TestString = "Mid Function Demo" '
.
Dim FirstWord As String : FirstWord = Mid(TestString, 1, 3) ' "Mid".
Dim LastWord As String : LastWord = Mid(TestString, 14, 4) ' Returneaz "Demo".
Dim MidWords As String : MidWords = Mid(TestString, 5) ' Returneaz "Function Demo".
FirstWord, LastWord, MidWords
?
Variante de rspuns:
1. FirstWord = "Demo"
LastWord = "Function"
MidWords = "Demo"
26

2. FirstWord = "Mid"
LastWord = "Demo"
MidWords = "Function Demo"
3. FirstWord = "Dim"
LastWord = "Demo"
MidWords = "Function Demo"
4. FirstWord = "Mid"
LastWord = "Demo"
MidWords = "Function"
ntrebarea 54.
VBA MS Access:
Dim aDateString, aTimeString As String
Dim aDate, aTime As Date
aDateString = "February 12, 1969" ' .
aTimeString = "4:35:47 PM"
aTime = CDate(aTimeString)
?
Variante de rspuns:
1. aTimeString Date
aTime
2.
3. aDateString
aDate
4. aDateString Date aDate
ntrebarea 55.
VBA MS Access:
Dim aDateString, aTimeString As String
Dim aDate, aTime As Date
aDateString = "February 12, 1969" ' .
aTimeString = "4:35:47 PM"
aTime = Date(aTimeString)
?
Variante de rspuns:
1. aDateString
aDate
2. aDateString Date aDate
3.
4. aTimeString Date
aTime
ntrebarea 56.
(VBA MS Access)
?
Variante de rspuns:
27

1. Function MatchUp (Ind As String)


MatchUp = Switch (Ind, " ", " ", _
" ", " ", _
" ", " ")
End Function
2. Function MatchUp (Ind As String)
MatchUp = Choose (Ind, " ", " ", _
" ", "Italian", _
"Paris", " ")
End Function
3. Function MatchUp (CityName As String)
Matchup = Choose (CityName = " ", " ", _
CityName = " ", " ", _
CityName = " ", " ")
End Function
4. Function MatchUp (CityName As String)
Matchup = Switch (CityName = "", "", _
CityName = "", "", _
CityName = "", "")
End Function
ntrebarea 57.
VBA MS Access
?

Variante de rspuns:
1. MsgBox " ?", vbYesNoCancel + vbDefaultButton2 + vbQuestion, "
"
2. MsgBox " ?", vbYesNo + vbDefaultButton2 + vbExclamation, "
"
3. MsgBox " ?", vbAbortRetryIgnore + vbDefaultButton2 +
vbQuestion, " "
4. MsgBox " ?", vbYesNoCancel + vbDefaultButton1+ vbQuestion, "
"
ntrebarea 58.
VBA MS Access
?

28

Variante de rspuns:
1. Dim Message, Title, Default, sValue
Message = " 1 3"
Title = "InputBox Demo"
Default = "1"
sValue = InputBox(Title, Message, Default)
2. Dim Message, Title, Default, sValue
Message = " 1 3"
Title = "InputBox Demo"
Default = "1"
sValue = InputBox(Default, Message, Title)
3. Dim Message, Title, Default, sValue
Message = " 1 3"
Title = "InputBox Demo"
Default = "2"
sValue = InputBox(Message, Title, Default)
4. Dim Message, Title, Default, sValue
Message = " 1 3"
Title = "InputBox Demo"
Default = "1"
sValue = InputBox(Message, Title, Default)
Grupul (tema): T03.ConstructiiVbaAccess
ntrebarea 59.
VBA MS Access:
Sub Using_IF()
Dim x As Integer : x =50
If x <= 10 Then
MsgBox "X is <=10"
ElseIf x <= 40 And x > 10 Then
MsgBox "X is <=40 and > 10"
ElseIf x <= 70 And x > 40 Then
MsgBox "X is <=70 and > 40"
ElseIf x <= 100 And x > 70 Then
MsgBox "X is <= 100 and > 70"
Else
MsgBox "X does not fall within the range"
End If
29

End Sub
?
Variante de rspuns:
1. "X is <=70 and > 40"

2.
3. "X is number <=70 and > 40"

4. "X does not fall within the range"

ntrebarea 60.
VBA MS Access
?
Variante de rspuns:
1. Function NumInterval (ByVal age As Integer) As String
Select Case NumInterval
Case 1 To 5
NumInterval = " 1 5 "
Case 6, 7, 8
NumInterval = " 6 8 "
Case 9 To 10
NumInterval = " 8"
Case Else
NumInterval = " 1 10"
End Select
End Function
2. Function NumInterval (ByVal age As Integer) As String
Select Case NumInterval
Case 1
NumInterval = " 1 5 "
Case 2
NumInterval = " 6 8 "
Case 3
NumInterval = " 8"
Case Else
NumInterval = " 1 10"
End Select
End Function
3. Function NumInterval (ByVal age As Integer) As String
Select Case NumInterval
Case 1 To 5
NumInterval = " 1 5 "
30

Case 6, 7, 8
NumInterval = " 6 8 "
Case 9 To 10
NumInterval = " 8"
Case Otherwise
NumInterval = " 1 10"
End Select
End Function
4. Function NumInterval (ByVal age As Integer) As String
Select Case NumInterval
Case 1 To 5
NumInterval = " 1 5 "
Case 6, 7, 8
NumInterval = " 6 8 "
Case 9 To 10
NumInterval = " 8"
Case Default
NumInterval = " 1 10"
End Select
End Function
ntrebarea 61.
VBA MS Access:
Function IntervalNumber(LNumber As Variant) As String
Select Case LNumber
Case Is < 100
[IntervalNumber] = " <100"
Case Is < 200
[IntervalNumber] = " >=100 si <200"
Case Is < 300
[IntervalNumber] = " >=200 si <300"
Case Else
[IntervalNumber] = " >=300"
End Select
End Function
:
Dim varText
varText = IntervalNumber(200)
MsgBox varText
varText ?
Variante de rspuns:
1. " <=300"
2. " >= 100 si < 300"
31

3. " >= 200 si < 300"


4. " >= 200"
ntrebarea 62.
VBA MS Access:
Dim Words, Chars, sString
For Words = 10 To 1 Step -1
For Chars = 0 To 9
sString = sString & Chars
Next Chars
sString = sString & vbCr
Next Words
sString
?
Variante de rspuns:
1. 0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
2. 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789
0123456789 0123456789 0123456789
3. 9876543210
9876543210
9876543210
9876543210
9876543210
9876543210
9876543210
9876543210
9876543210
9876543210
4. 9876543210 9876543210 9876543210 9876543210 9876543210 9876543210 9876543210
9876543210 9876543210 9876543210
ntrebarea 63.
VBA MS Access:
Function IsArrayAllocated(Arr As Variant) As Boolean
On Error Resume Next
32

IsArrayAllocated = IsArray(Arr) And _


Not IsError(LBound(Arr, 1)) And _
LBound(Arr, 1) <= UBound(Arr, 1)
End Function
Function calcSum(ByRef args() As Variant) As Variant
Dim i As Integer
calcSum = 0
If IsArrayAllocated(args) = True Then
For i = 0 To UBound(args, 1)
calcSum = calcSum + args(i)
Next i
calcSum= calcSum+1
Else
MsgBox " !!!"
End If
End Function
i secvena:
Dim mArray() As Variant
mArray = Array(1, 2, 3, 4)
Dim returnedValue As Variant: returnedValue = calcSum(mArray)
MsgBox returnedValue
?
Variante de rspuns:
1. "Elementele matricei nu au fost alocate!!!"

2. "10"
3. "1"
4. "11"
ntrebarea 64.
VBA MS Access:
Dim index As Integer: index = 0
Dim s As String: s = ""
Do
s = s & index & " "
index = index + 1
Loop Until index > 10
s = "s= " & s & vbCr & "index=" & index
MsgBox s
?
Variante de rspuns:
1.

33

s = 0 1 2 3 4 5 6 7 8 9 10 index=10
2.

s = 0 1 2 3 4 5 6 7 8 9 10
index=11
3.

s = 0 1 2 3 4 5 6 7 8 9 10 index=11
4.

s = 0 1 2 3 4 5 6 7 8 9 10
index=10
ntrebarea 65.
VBA MS Access:
Dim index As Integer: index = 0
Dim s As String: s = ""
Do While index <= 10
s = s & index & " "
index = index + 1
Loop
s = "s= " & s & " index=" & index
MsgBox s
?
Variante de rspuns:
1.

s = 0 1 2 3 4 5 6 7 8 9 10
index=11
2.

s = 0 1 2 3 4 5 6 7 8 9 10 index=11
3.

s = 0 1 2 3 4 5 6 7 8 9 10
index=10
4.

s = 0 1 2 3 4 5 6 7 8 9 10 index=10
Grupul (tema): T04.SGBDAccessAtmLucru
ntrebarea 66.
:
a)
b)
34

c)
d)
e) Client/server-
f) Intranet/Internet
Access?
Variante de rspuns:
1. a); b); c); f);
2. c); d); e); f);
3. a); b); d); e);
4. a); b); c); d); e); f);
ntrebarea 67.
(1.) ?

Variante de rspuns:
1. .
2. .
3. .
4. .
ntrebarea 68.
(1.) ?

Variante de rspuns:
1. .
2. .
3. .
4. .
ntrebarea 69.
(1.) ?

35

Variante de rspuns:
1. .
2. .
3. .
4. .
ntrebarea 70.
(1.) ?

Variante de rspuns:
1. .
2. Table design .
3. .
4. .
ntrebarea 71.
?

Variante de rspuns:
1. .
36

2. .
3. Table design .
4. .
ntrebarea 72.
(1.) ?

Variante de rspuns:
1. Table design .
2. .
3. .
4. .
ntrebarea 73.
(1.) ?

Variante de rspuns:
1. .
2. Design .
3. .
37

4. Table design .
ntrebarea 74.
(1.) ?

Variante de rspuns:
1. Design view .
2. .
3. Table design .
4. Design .
ntrebarea 75.
(1.) :

Variante de rspuns:
1. .
2. .
3. .
4. .
ntrebarea 76.
(1.) :

38

Variante de rspuns:
1. .
2. .
3. .
4. .
Grupul (tema): T04.SGBDAccessMenu
ntrebarea 77.
?

Variante de rspuns:
1. , .
2. , .
3. , .
4. , .
ntrebarea 78.
.

39

:
( );
, ;
(, , , ..)?
Variante de rspuns:
1. (External Data)
2. (Database Tools)
3. (Create)
4. (Home)
ntrebarea 79.
.

:
( );
(, , , . .);
;
?
Variante de rspuns:
1. (Home)
40

2. (Create)
3. (External Data)
4. (Database Tools)
ntrebarea 80.
.

:
, SharePoint;
?
Variante de rspuns:
1. (Database Tools)
2. (External Data)
3. (Home)
4. (Create)
ntrebarea 81.
.

41

:
, , ?
Variante de rspuns:
1. (Create)
2. (External Data)
3. (Home)
4. (Database Tools)
ntrebarea 82.
.

:
-;
Access, Excel,
SharePoint, , XML, , Open
Database Connectivity (ODBC)?
Variante de rspuns:
1. (Database Tools)
2. (Home)
3. (Create)
42

4. (External Data)
ntrebarea 83.
.

:
Visual Basic;
;
;
;
SQL Server?
Variante de rspuns:
1. (Database Tools)
2. (External Data)
3. (Home)
4. (Create)
ntrebarea 84.
MS Access.

?
Variante de rspuns:
1. Remove from Quick Access Toolbar;
2. Minimize the Ribbon;
3. Minimize the Ribbon;
43

4. Customize Quick Access Toolbar;


ntrebarea 85.
MS Access.

?
Variante de rspuns:
1. Minimize the Ribbon;
2. Minimize the Ribbon;
3. Customize Quick Access Toolbar;
4. Remove from Quick Access Toolbar;
ntrebarea 86.
MS Access.

Quick Access Toolbar


?
Variante de rspuns:
1. Show Quick Access Toolbar Below the Ribbon;
2. Customize Quick Access Toolbar;
3. Minimize the Ribbon;
4. Remove from Quick Access Toolbar;
ntrebarea 87.
MS Access.

Quick Access Toolbar


?
Variante de rspuns:
1. Show Quick Access Toolbar Below the Ribbon;
2. Customize Quick Access Toolbar;
3. Remove from Quick Access Toolbar;
4. Minimize the Ribbon;
Grupul (tema): T05.BDAccess
ntrebarea 88.
:
44

Variante de rspuns:
1.
2.
3.
4.
ntrebarea 89.
:
Variante de rspuns:
1.
2.
3.
4.
Grupul (tema): T05.TabeleAccess
ntrebarea 90.

255 ,
. , , ,
. ?
Variante de rspuns:
1. Text
2. Memo
3. Hyperlink
4. Attachment
ntrebarea 91.

. .
?
Variante de rspuns:
1. Hyperlink
2. Attachment
3. Memo
4. Text
ntrebarea 92.
, Excel,
, .
?
Variante de rspuns:
1. Text
2. Attachment
3. Memo
4. Hyperlink
ntrebarea 93.
45


,
web- (URL) (UNC).
. ?
Variante de rspuns:
1. Hyperlink
2. Text
3. Memo
4. Attachment
ntrebarea 94.

( ). , (ID )
, .
?
Variante de rspuns:
1. AutoNumber
2. Currency
3. Date/Time
4. Number
ntrebarea 95.
.
, .
?
Variante de rspuns:
1. Date/Time
2. AutoNumber
3. Number
4. Currency
ntrebarea 96.
.
.
?
Variante de rspuns:
1. Date/Time
2. Number
3. Currency
4. AutoNumber
ntrebarea 97.

. .
?
Variante de rspuns:
1. Currency
46

2. Date/Time
3. Number
4. AutoNumber
ntrebarea 98.
(/,
/).
. ?
Variante de rspuns:
1. Currency
2. Logical
3. Date/Time
4. Yes/No
ntrebarea 99.

Word Excel. ?
Variante de rspuns:
1. Data Object
2. AutoNumber
3. Object
4. OLE Object
ntrebarea 100.
Field Size .
?
Variante de rspuns:
1. , , / .
.
2. Text Number.
. ,
.
3. .
. ,
(
).
4. , OLE Attachment
(). .
ntrebarea 101.
Format .
?
Variante de rspuns:
1. .
. ,
(
).
47

2. , , / .
.
3. , OLE Attachment
(). .
4. Text Number.
. ,
.
ntrebarea 102.
Caption .
?
Variante de rspuns:
1. , , / .
.
2. , OLE Attachment
(). .
3.
. ,
(
).
4. .
. ,
.
ntrebarea 103.
Default Value .
?
Variante de rspuns:
1.
. ,
(
).
2. Access
.
3. , , / .
.
4. , OLE Attachment
(). .
ntrebarea 104.
Validation Rule
. ?
Variante de rspuns:
1. , ,
.
; (database engine) .
48

2. Access
.
3. , , / .
.
4.
. ,
(
).
ntrebarea 105.
Validation Text .
?
Variante de rspuns:
1. Access
.
2. ,
.
3. , ,
.
; (database engine) .
4.
. ,
(
).
ntrebarea 106.
Allow Zero Length (Yes No).
?
Variante de rspuns:
1. , ,
.
; (database engine) .
2. .
,
. ,
( ).
3. ("").
Null ( .
.
.
4. ,
.
ntrebarea 107.
Unicode Compression .
?
49

Variante de rspuns:
1. .
,
. ,
( ).
2. Text Memo.
. ,
.
3. Text Memo.
Unicode.
4.
.
ntrebarea 108.
Lookup Wizard .
?
Variante de rspuns:
1. ,
.
2.
( ).
3.
.
4. .
, .
,
( )
Grupul (tema): T06.
ntrebarea 109.
,
. :
Variante de rspuns:
1. ,
AutoNumber.
2. .
3. , (
) .
4. .
ntrebarea 110.
,
. :
Variante de rspuns:
1. , (
) .
50

2. , .
3. , Text.
4. ,
AutoNumber.
ntrebarea 111.
Primary key ( )
Variante de rspuns:
1. candidate key
2. composite key
3. AutoNumber
4. alternate key
ntrebarea 112.
Alternate key
Variante de rspuns:
1. composite key
2. candidate key
3. primary key
4. candidate key
ntrebarea 113.
simple primary key
Variante de rspuns:
1. primary key
2. lternate key
3. candidate key
4. primary key
ntrebarea 114.
composite primary key
Variante de rspuns:
1. lternate key
2. primary key
3. candidate key
4. primary key
ntrebarea 115.

. ?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 116.

51

,
/ .
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 117.
,
/ ,
(lookup,
). ?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 118.
Orders (), , 1,
1, 2, 2, 3, 3.

?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 119.
Orders (), , , .

52

?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 120.
: Orders (),
OrderDetails ( ), , .

?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 121.
: OrderDetails ( ),
Inventory (), , .

53

?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 122.

Variante de rspuns:
1.
2.
3.
4.
ntrebarea 123.

Variante de rspuns:
1. -text
2. -null
3. null .
4.
ntrebarea 124.

Variante de rspuns:
1.
2. null
3. -null
4. -text
ntrebarea 125.
Customers () Orders ().
Customers,
Orders. Orders
. ?
54

Variante de rspuns:
1.
2.
3.
4.
ntrebarea 126.
employees (), Vesting ().
.
(
)
employees.

.

.
employees . ?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 127.
, .
Access ;
.
.
Variante de rspuns:
1.
2.
3.
4.
Grupul (tema): T06.IntegritateAccess
ntrebarea 128.
Access?
Variante de rspuns:
1. DataBaseTools=>Move Data=> Access Databese
2. DataBaseTools=>Show/Hide=> Relationships
3. Create=>Tables=> SharePoint List
4. Home=>Views=>View=> Design View
ntrebarea 129.
Access ?

55

Variante de rspuns:
1.
2.
3.
4.
ntrebarea 130.
Access ?

Variante de rspuns:
1.
2.
3.
4.
ntrebarea 131.
( Access) :
1. .
2. ,
Show Table ( 1). Show Table
Add ().

1. Show Table .
3. ,
. Show Table
Relationships . ,
Add ().

56

. Show Table,
Close.
4. .
Edit Relationships ( ), . 2.
5. ( ),
.
6. Create New...

. 2. Edit Relationships.
Variante de rspuns:
1.

2.
3.
4.

ntrebarea 132.
AnCurent, ZileSrbtori ZileLucrtoareInLuna. Anul
curent ZileSrbtori ZileLucrtoareInLuna
Anul curent AnCurent. Relationships
( 2 ).

Design View
( 2 )?
Variante de rspuns:
1. Design View
2. Design View DataSheet=>Fields&Columns=>Lookup Column
57

3. Design View DataSheet=>Fields&Columns =>Add Existing Fields


4. Design View DataSheet=>Fields&Columns =>Insert
ntrebarea 133.
AnCurent, ZileSrbtori ZileLucrtoareInLuna. Anul
curent ZileSrbtori ZileLucrtoareInLuna
Anul curent AnCurent. Relationships
( 2 ).

Relationships ?
Variante de rspuns:
1. , Design=> Relationships =>All
Relationships
2. Access ,
3. , Design=> Relationships =>All
Relationships
4. , Design=> Relationships =>Hide
Table
ntrebarea 134.
Relationships

Relationships
Variante de rspuns:
58

1. Delete
2. Design => Tools => Clear Layout
3. Design => Tools => Edit Relationships => Delete
4.
ntrebarea 135.
( Access) :

1. Database Tools, Relationships tool


Show/Hide .
2.
.
3. Delete. Access . Yes.
Variante de rspuns:
1.
2.
3.
4. Relationships
ntrebarea 136.
( Access) :

1. Database Tools, Relationships tool


Show/Hide
2.
.
3. .
59

4. OK.
Variante de rspuns:
1.
2. Relationships
3.
4.
ntrebarea 137.
, , Access
Variante de rspuns:
1.
2.

3.
4.
.
ntrebarea 138.
, , Access
Variante de rspuns:
1.

2.
3.
4. ,

ntrebarea 139.
, , Access

,
.

Variante de rspuns:
1. Relationships Report
2. Edit Relationships
3. Relationships Report
4. Edit Relationships
ntrebarea 140.
Access

60


Access
.
?
Variante de rspuns:
1. Cascade Delete Related Records
2. Cascade Update Related Fields i Cascade Delete Related Records
3. Enforce Referential Integrity
4. Cascade Update Related Fields
ntrebarea 141.
, Access:


,
.
?
Variante de rspuns:
1. Enforce Referential Integrity
2. Cascade Update Related Fields
3. Cascade Update Related Fields Cascade Delete Related Records
4. Cascade Delete Related Records
ntrebarea 142.
, Access, .

61

?
Variante de rspuns:
1. tblFisa
tblFunctii
2. tblFisa
tblFunctii
3. tblFisa
tblFunctii
4. ID tblFisa
ID_Fisa
tblFunctii
ntrebarea 143.
, Access, .

?
Variante de rspuns:
1. ID tblFisa,
tblFunctii
2. tblFisa
tblFunctii
3. tblFisa
tblFunctii
4. ID tblFisa
ID_Fisa
tblFunctii
ntrebarea 144.
, Access, .

62

?
Variante de rspuns:
1. tblFisa
tblFunctii
2. tbl_Functii
tblFisa
3. ID tblFisa
ID_Fisa
tblFunctii
4. tblFisa
tblFunctii
Grupul (tema): T07.QuerySelectOneTab
ntrebarea 145.
:

Variante de rspuns:
1. ,
Design View
2. Create Query Wizard,
Other
3. Create Simple Query Other
4. Create Query Design,
Other
ntrebarea 146.
.

Variante de rspuns:

1. Design Update

63

2. Design Run

3. Design Append

4. Design Make Table


ntrebarea 147.

:
1. nrLuna (1.).
2. Shift Anulurent (1.).
nrLuna, DenumLuna i Anulurent.
3. ,
din ( (1.)) ( (2.)).
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 148.

64

:
1. nrLuna (2.) .
2. Shift Anulurent (1.).
nrLuna, DenumLuna i Anulurent.3.
Delete .
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 149.

:
1. DenumLuna (2.).
2. Design Insert Columns Query Setup.
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 150.

65

:
1. DenumLuna ( (2.)) Design View .
2. .
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 151.

:
1. , ( (2.)),
Sort DenSubDiviz.
2. .
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 152.

66

:
1. DenSubDiviz ( (2.))
2. DenSubDiviz, Nume
Prenume.
3. .
4. Nume .
5. Nume, Prenume
DenSubDiviz.
6. .
7. DenSubDiviz .
8. Nume .
9. Prenume .
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 153.

. , ,
Criteria ( " "):
= " "
?
Variante de rspuns:
1. " "
2. " "
3. " "
4. - " "
ntrebarea 154.

. , ,
Criteria ( " "):
67

< > " "


?
Variante de rspuns:
1. " "
2. " "
3. " "
4. - " "
ntrebarea 155.

. , ,
Criteria ( " "):
Like "* *"
?
Variante de rspuns:
1. " "
2. " "
3. - " "
4. " "
ntrebarea 156.

. , ,
Criteria ( ID: "CA", "NY" sau "UT"
):
"CA" or "NY" or "UT"
?
Variante de rspuns:
1. , "CA", "NY" "UT"
2. "CA", "NY" "UT"
3. , "CA", "NY" "UT"
4. , - "CA", "NY"
"UT"
ntrebarea 157.

. , ,
Criteria ( ID: "CA", "NY" sau "UT"
):
In("CA", "NY","UT")
?
Variante de rspuns:
1. , "CA", "NY" "UT"
2. , "CA", "NY" "UT"
3. , - "CA", "NY"
"UT"
68

4. "CA", "NY" "UT"


ntrebarea 158.

. , ,
Criteria :
Is Not Null
?
Variante de rspuns:
1.
2. MS Access
3.
4.
ntrebarea 159.

. , ,
Criteria ( OrderDate, Date,
( )):
Day ([OrderDate])=1
?
Variante de rspuns:
1. (OrderDate)
2. (OrderDate)
3. (OrderDate) 2012
4. (OrderDate)
ntrebarea 160.

. . , ,
Criteria ( OrderDate Date,
( )):
Month ([OrderDate])=1
?
Variante de rspuns:
1. (OrderDate)
2. (OrderDate) 2012
3. (OrderDate)
4. (OrderDate)
ntrebarea 161.

. . , ,
Criteria ( OrderDate Date,
( )):
Weekday([OrderDate])=2
?
69

Variante de rspuns:
1. (OrderDate)
2. (OrderDate)
3. (OrderDate)
4. (OrderDate) 2012
ntrebarea 162.

. . , ,
Criteria ( OrderDate Date,
( )):
Between #1/1/2007# and #12/31/2007#
?
Variante de rspuns:
1. 2007
2.
3.
4. MS Access
ntrebarea 163.

. . , ,
Criteria ( OrderDate Date,
( )):
Between 1/1/2007 and 12/31/2007
?
Variante de rspuns:
1.
2. 2007
3.
4. MS Access
ntrebarea 164.

. . , ,
Criteria ( OrderDate Date,
( )):
DatePart (q, [OrderDate]) = 2
?
Variante de rspuns:
1. MS Access
2.
3.
4. 2007
ntrebarea 165.
70


. . , ,
Criteria ( OrderDate Date,
( )):
DatePart (a, [OrderDate]) = 2
?
Variante de rspuns:
1.
2.
3. MS Access
4. 2007
Grupul (tema): T07.QuerySelectMultiTab
ntrebarea 166.

:
1. ( (2.))
.
2. Field () .
3. Field :
Initiale: [Nume] & " " & Left([Prenume];1) & "." & Left([Patronimic];1) & "."
?
Variante de rspuns:
1. Nume (), Prenume ()
Patronimic () .
: Nume Prenume Patronimic
2. Nume () Prenume ()
Patronimic (). : Nume P.P.
3. MS Access
4. Nume () Prenume ()
Patronimic (). ). : Nume PP
ntrebarea 167.

71

:
1. ( (2.))
.
2. Field () .
3. Field :
SumaFunctiei: [SumaCategoriei]*[NrSalarii]
?
Variante de rspuns:
1. SumaFunctiei SumaCategoriei
NrSalarii .
2. SumaFunctiei SumaCategoriei
NrSalarii
3. MS Access
4. Crearea unui cmp de calcul SumaFunctiei care include n sine produsul dintre
SumaCategoriei i NrSalarii
ntrebarea 168.

:
72

1. ( (2.))
. . ,
DenSubDiviz (
) .
2. Totals () , .
Group By Total.
3. Total .
4. . ( sum
SumaFunctiei ( )).
5. Total Group By
, , .
.
6. Show .
?
Variante de rspuns:
1. .
2. MS Access
3. .

4. .
ntrebarea 169.

:
1. ( (2.))
. . ,
DenSubDiviz (
).
2. Totals () , .
Group By Total.
3. Total .

73

4. ( Avg
SumaFunctiei ( )).
5. Total Group By
, , .
.
?
Variante de rspuns:
1. .

2. MS Access
3. .
4. .
ntrebarea 170.
Zoom?

Variante de rspuns:
1. Ctrl+F2,
TableNames
2. Alt+F2,
Build
3. Shift+F2,
Zoom
4. Shift+F2,
Totals
ntrebarea 171.
Expression Builder (
)?

Variante de rspuns:
74

1. Design
Builder Build
2. Design
Zoom Zoom
3. Design
Totals Totals
4. Design
TableNames
TableNames
ntrebarea 172.

:
1. ( (2.)) Denumire Filial ( )
tblFiliala, ara () tblTara, Subdiviziune ()
tbl_Subdiviz.
2. :
TotalSumaFunctiei(): [SumaCategoriei]*[NrSalarii]
MediaSumaFunctiei(): [SumaCategoriei]*[NrSalarii]
MaxSumaFunctiei(): [SumaCategoriei]*[NrSalarii]
3. Totals () Design ().
Total; Group
By .
4. DenumFiliala ( ), Tara (),
DenumSubdiviz (), TotalSumaFunctiei (),
MediaSumaFunctiei (), MaxSumaFunctiei ()

( ). Total TotalSumaFunctiei
() Sum.
Total pentru cmpul MediaSumaFunctiei
() Avg.
Total MaxSumaFunctiei ()
Max.
75

?
Variante de rspuns:
1. . TotalSumaFunctiei ()
Denumire Filial ( ),
ara () Subdiviziune (). MediaSumaFunctiei
()
Denumire Filial ( ), ara () Subdiviziune ().
MaxSumaFunctiei ()
Denumire Filial ( ), ara ()
Subdiviziune ().
2. MS Access
3. . TotalSumaFunctiei ()
Subdiviziune (), Denumire
Filial ( ) ara (). MediaSumaFunctiei
()
Subdiviziune (), Denumire Filial ( ) ara ().
MaxSumaFunctiei () exprim
Subdiviziune (), Denumire Filial (
) ara ().
4. . TotalSumaFunctiei ()
ara (), Denumire Filial
( ) Subdiviziune ().
MediaSumaFunctiei()
ara (), Denumire Filial ( ) Subdiviziune
(). MaxSumaFunctiei ()
Denumire Filial ( ),
ara () Subdiviziune ().
ntrebarea 173.

76

1. ( (2.)) Denumire Filial ( )


tblFiliala, ara () tblTara, Subdiviziune ()
tbl_Subdiviz.
2. :
TotalSumaFunctiei () [SumaCategoriei]*[NrSalarii]
MediaSumaFunctiei() [SumaCategoriei]*[NrSalarii]
MaxSumaFunctiei () [SumaCategoriei]*[NrSalarii]
3. Totals () Design ().
Total; Group
By .
4. DenumFiliala ( ), Tara (),
DenumSubdiviz (), TotalSumaFunctiei (),
MediaSumaFunctiei (), MaxSumaFunctiei ()

( ). Total TotalSumaFunctiei
() Sum.
Total pentru cmpul MediaSumaFunctiei
() Avg.
Total MaxSumaFunctiei ()
Max.
?
Variante de rspuns:
1. MS Access
2. . TotalSumaFunctiei ()
Denumire Filial ( ),
ara () Subdiviziune (). MediaSumaFunctiei
()
Denumire Filial ( ), ara () Subdiviziune ().
MaxSumaFunctiei ()
Denumire Filial ( ), ara ()
Subdiviziune ().
3. . TotalSumaFunctiei ()
ara (), Denumire Filial
( ) Subdiviziune ().
MediaSumaFunctiei()
ara (), Denumire Filial ( ) Subdiviziune
(). MaxSumaFunctiei ()
Denumire Filial ( ),
ara () Subdiviziune ().
4. . TotalSumaFunctiei ()
Subdiviziune (), Denumire
Filial ( ) ara (). MediaSumaFunctiei
77

()
Subdiviziune (), Denumire Filial ( ) ara ().
MaxSumaFunctiei () exprim
Subdiviziune (), Denumire Filial (
) ara ().
ntrebarea 174.

:
1. ( (2.)) Denumire Filial ( )
tblFiliala, ara () tblTara, Subdiviziune ()
tbl_Subdiviz.
2. :
TotalSumaFunctiei () [SumaCategoriei]*[NrSalarii]
MediaSumaFunctiei( ) [SumaCategoriei]*[NrSalarii]
MaxSumaFunctiei () [SumaCategoriei]*[NrSalarii]
3. DataElib () tbl_Functii.
4. Totals () Design ().
Total; Group
By .
5. DenumFiliala ( ), Tara (),
DenumSubdiviz (), TotalSumaFunctiei (),
MediaSumaFunctiei (), MaxSumaFunctiei ()

( ). Total TotalSumaFunctiei
() Sum.
Total pentru cmpul MediaSumaFunctiei
Avg. Total
MaxSumaFunctiei ()
Max. Total DataElib
() Where
78

Criteria ( ) Is Null Show (


) .
?
Variante de rspuns:
1. . TotalSumaFunctiei ()
DenumFiliala ( ), Tara (),
DenumSubdiviz (). MediaSumaFunctiei ( )
DenumFiliala ( ),
Tara (), DenumSubdiviz (). MaxSumaFunctiei
() Tara
(), DenumFiliala ( ), DenumSubdiviz ().
,
.
2. . TotalSumaFunctiei ()
DenumFiliala ( ), Tara
(), DenumSubdiviz (). MediaSumaFunctiei (
) DenumFiliala (
), Tara (), DenumSubdiviz (). MaxSumaFunctiei
()
DenumFiliala ( ), Tara (), DenumSubdiviz ().
,
.
3. . TotalSumaFunctiei ()
DenumFiliala ( ), Tara (),
DenumSubdiviz (). MediaSumaFunctiei ( )
DenumFiliala ( ),
Tara (), DenumSubdiviz (). MaxSumaFunctiei
()
DenumFiliala ( ), Tara (), DenumSubdiviz ().
,
.
4. . TotalSumaFunctiei ()
Tara (), DenumFiliala ( ),
DenumSubdiviz (). MediaSumaFunctiei ( )
Tara (), DenumFiliala
( ), DenumSubdiviz (). MaxSumaFunctiei
() Tara
(), DenumFiliala ( ), DenumSubdiviz ().
,
.
ntrebarea 175.

79

:
1. ( (2.)) Denumire Filial ( )
tblFiliala, ara () tblTara, Subdiviziune ()
tbl_Subdiviz.
2. :
TotalSumaFunctiei () [SumaCategoriei]*[NrSalarii]
MediaSumaFunctiei( ) [SumaCategoriei]*[NrSalarii]
MaxSumaFunctiei () [SumaCategoriei]*[NrSalarii]
3. DataElib () tbl_Functii.
4. Totals () Design ().
Total; Group
By .
5. DenumFiliala ( ), Tara (),
DenumSubdiviz (), TotalSumaFunctiei (),
MediaSumaFunctiei (), MaxSumaFunctiei ()

( ). Total TotalSumaFunctiei
() Sum.
Total MediaSumaFunctiei
Avg. Total
MaxSumaFunctiei ()
Max. Total DataElib
() Where
Criteria ( ) Is Null Show (
) . Tara () Criteria
: "Republica Moldova"
?
Variante de rspuns:
80

1. . TotalSumaFunctiei ()
DenumFiliala ( ), Tara
(), DenumSubdiviz (). MediaSumaFunctiei (
) DenumFiliala (
), Tara (), DenumSubdiviz (). MaxSumaFunctiei
()
DenumFiliala ( ), Tara (), DenumSubdiviz ().
,
.
2. . TotalSumaFunctiei ()
Tara (), DenumFiliala (
), DenumSubdiviz (). MediaSumaFunctiei (
) Tara (),
DenumFiliala ( ), DenumSubdiviz ().
MaxSumaFunctiei ()
Tara (), DenumFiliala ( ), DenumSubdiviz
(). ,
.
3. . TotalSumaFunctiei ()
Tara (), DenumFiliala (
), DenumSubdiviz (). MediaSumaFunctiei (
) Tara (),
DenumFiliala ( ), DenumSubdiviz ().
MaxSumaFunctiei ()
Tara (), DenumFiliala ( ), DenumSubdiviz
(). ,
.
4. . TotalSumaFunctiei ()
DenumFiliala ( ), Tara
(), DenumSubdiviz (). MediaSumaFunctiei (
) DenumFiliala (
), Tara (), DenumSubdiviz (). MaxSumaFunctiei
()
DenumFiliala ( ), Tara (), DenumSubdiviz ().
,
.
ntrebarea 176.
Null.
Null, ; ,
.
Variante de rspuns:
1. Str([])
81

2. Weekday([])
3. NZ([])
4. Is Null
ntrebarea 177.

:
1. ( (2.)) Denumire Filial ( )
tblFiliala, ara () tblTara, Subdiviziune ()
tbl_Subdiviz.
2. :
TotalSumaFunctiei () [SumaCategoriei]*[NrSalarii]
MediaSumaFunctiei( ) [SumaCategoriei]*[NrSalarii]
MaxSumaFunctiei () [SumaCategoriei]*[NrSalarii]
3. DataElib () tbl_Functii.
4. Totals () Design ().
Total; Group
By .
5. DenumFiliala ( ), Tara (),
DenumSubdiviz (), TotalSumaFunctiei (),
MediaSumaFunctiei (), MaxSumaFunctiei ()

( ). Total TotalSumaFunctiei
() Sum.
Total MediaSumaFunctiei
Avg. Total
MaxSumaFunctiei ()
Max. Total DataElib
82

() Where
Criteria ( ) Is Null Show (
) . Tara () Criteria
: [Introdu ara] ( )
Introdu ara ( ) ,
.
?
Variante de rspuns:
1. . TotalSumaFunctiei ()
DenumFiliala ( ), Tara
(), DenumSubdiviz (). MediaSumaFunctiei (
) DenumFiliala (
), Tara (), DenumSubdiviz (). MaxSumaFunctiei
()
DenumFiliala ( ), Tara (), DenumSubdiviz ().
,
( )
2. . TotalSumaFunctiei ()
DenumFiliala ( ), Tara
(), DenumSubdiviz (). MediaSumaFunctiei (
) DenumFiliala (
), Tara (), DenumSubdiviz (). MaxSumaFunctiei
()
DenumFiliala ( ), Tara (), DenumSubdiviz ().
,

.
3. . TotalSumaFunctiei ()
DenumFiliala ( ), Tara
(), DenumSubdiviz (). MediaSumaFunctiei (
) DenumFiliala (
), Tara (), DenumSubdiviz (). MaxSumaFunctiei
()
DenumFiliala ( ), Tara (), DenumSubdiviz ().
,

.
4. . TotalSumaFunctiei ()
Tara (), DenumFiliala (
), DenumSubdiviz (). MediaSumaFunctiei (
) Tara (),
DenumFiliala ( ), DenumSubdiviz ().
83

MaxSumaFunctiei ()
Tara (), DenumFiliala ( ), DenumSubdiviz
(). ,

.
ntrebarea 178.

:
1. ( (2.)) Denumire Filial ( )
tblFiliala, ara () tblTara, Subdiviziune ()
tbl_Subdiviz, Funcia angajatului ( ) tblFunctii,
Data angajrii n funcie ( ) tbl_Functii .
2. :
Initiale: [Nume] & " " & Left([Prenume];1) & "." & Left([Patronimic];1) & "."
3. DataElib ( ) tbl_Functii
Criteria :
Between [Data angajrii start] And [Data angajrii end]
Data angajrii start Data angajrii end
, .
?
Variante de rspuns:
1. . Denumire Filial
(), ara () Subdiviziune ().
,

Data angajrii start () Data angajrii end
() .
2. . Denumire Filial
(), ara () Subdiviziune ().
,
84


.
3. ( ) ,
.
4. ( )

Data angajrii start Data angajrii end
.
ntrebarea 179.

?
Variante de rspuns:
1. 3
2. 4
3. 2
4. 1
ntrebarea 180.
MS Access?
Variante de rspuns:
1.
2.

3.
4.

Partea 2 30%: Numr de ntrebri - 100, (27,7%).
Grupul (tema): T08.FormDesign
ntrebarea 181.

85

?
Variante de rspuns:
1. ,

2. ,

3.
4. ,
ntrebarea 182.

?
Variante de rspuns:
1. ,

2.
3. ,
4. ,

ntrebarea 183.
Access ;
. Access
Header ()
Detail ( )
86

Footer ( ).
;
.
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 184.
Access ;
. Access
Header ()
Detail ( )
Footer ( ).
,
. ,
.
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 185.
,
.

?
Variante de rspuns:
1. Create Forms Form Design
2. Create Forms More Forms
Form Wizard
3. Create Forms Form
4. Create Forms Split Form
ntrebarea 186.
:

87

?
Variante de rspuns:
1. Design Tools Add Existing Fields
2. Design Controls Use Control Wizards
3. Design Controls ActiveX Controls
4. Design Tools Property Sheet
ntrebarea 187.
:

:
1. , " " . , Add Existing
Fields .
2. ;
.
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 188.
:

Arrange?
Variante de rspuns:
1. ; ;
; ; ,
Tab;
2. ; ;
, ;
, Tab;
88

3. ; ; ;
; ,
Tab;
4. ; ;
; ; ,
Tab;
ntrebarea 189.
:

:
1. Shift .
2. Arrange ().
3. Control Layout Tabular Stacked.
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 190.
:

89

:
Variante de rspuns:
1.
1. Shift
.
2. Arrange, (Tabular sau
Stacked).
2.
1. , .
.
2. Arrange, Tabular Stacked Control Layout.
3.
1. .
2. Layout, Remove.
4.
1. .
2. Layout, Remove.
ntrebarea 191.
:

Tabular Stacked :
Variante de rspuns:
1.
1. Shift
.
2. Arrange, (Tabular sau
Stacked).
2.
1. , .
.
2. Arrange, Tabular Stacked Control Layout.
90

3.
1. .
2. Layout, Remove.
4.
1. .
2. Layout, Remove.
ntrebarea 192.
:

, :
Variante de rspuns:
1.
1. .
2. Layout, Remove.
2.
1. Shift
.
2. Arrange, (Tabular sau
Stacked).
3.
1. .
2. Layout, Remove.
4.
1. , .
.
2. Arrange, Tabular Stacked Control Layout.
ntrebarea 193.
:

91

:
Variante de rspuns:
1.
1. Shift
.
2. Arrange, (Tabular sau
Stacked).
2.
1. .
2. Layout, Remove.
3.
1. .
2. Layout, Remove.
4.
1. , .
.
2. Arrange, Tabular Stacked Control Layout.
ntrebarea 194.
.
( [])
, ;
,
.
Variante de rspuns:
1. (Labels)
2. (Combo Box)
3. (List Box)
4. (Text Box)
ntrebarea 195.
(, )
/ . (
92

[]) ,
; ,
.
Variante de rspuns:
1. (List Box)
2. (Labels)
3. (Text Box)
4. (Combo Box)
ntrebarea 196.
,
:
- ( /
).
- .
(
, / ).
- Pot fi configurate pentru a v permite s selectai mai multe elemente.
Variante de rspuns:
1. (Check Box)
2. (List Box)
3. (Labels)
4. (Text Box)
ntrebarea 197.
,
/, /, On/Off.
Variante de rspuns:
1. (List Box)
2. (Check Box)
3. (Combo Box)
4. (Text Box)
Grupul (tema): T08.FormPropCalc
ntrebarea 198.

, .
Variante de rspuns:
1. Row Source Type
2. Row Source
3. Column Count
4. Control Source
ntrebarea 199.

Table/Query (/), value list (
), field list ( ).
93

Variante de rspuns:
1. Column Count
2. Row Source Type
3. Control Source
4. Row Source
ntrebarea 200.

.
Variante de rspuns:
1. Row Source Type
2. Column Count
3. Row Source
4. Control Source
ntrebarea 201.

Control Source (
).
Variante de rspuns:
1. Column Widths
2. Row Source
3. Bound Column
4. Column Count
ntrebarea 202.
5 :
- Single Form ( )
.
- Continuous Forms ( ) ,
,
.
- Datasheet ( ) ,
.
- Split Form -
.
.
- PivotTable - Microsoft Exceltype.
- PivotChart - Microsoft Exceltype .
.
Variante de rspuns:
1. Column Widths
2. Caption
3. Default View
4. Bound Column
ntrebarea 203.
94

.
Form view ( )
Datasheet view ( ).
.
Variante de rspuns:
1. Default View
2. Bound Column
3. Record Selectors
4. Record Source
ntrebarea 204.
.
;
. ,
No ().
Variante de rspuns:
1. Record Selectors
2. Allow Datasheet View
3. Navigation Buttons
4. Navigation Caption
ntrebarea 205.
Proprietatea indic dac dorii s apar o linie ntre nregistrrile cnd vizualizarea
implicit a formularului este setat la form continu. Ea, de asemenea, determin dac mprirea
linii sunt plasate ntre seciunile din formular (antet, detaliu, i colontitlul de jos).
Variante de rspuns:
1. Record Selectors
2. Navigation Buttons
3. Dividing Lines
4. Navigation Caption
ntrebarea 206.
, SQL-
. ,
.
Variante de rspuns:
1. Navigation Caption
2. Record Source
3. Scroll Bars
4. Dividing Lines
ntrebarea 207.
.
Yes (a)
, .
Variante de rspuns:
1. Data Entry
95

2. Order By
3. Filter On Load
4. Order By on Load
ntrebarea 208.

. No (),
.
Variante de rspuns:
1. Order By
2. Data Entry
3. Allow Filters
4. Order By on Load
ntrebarea 209.
.
Format
.
Variante de rspuns:
1. Allow Filters
2. Decimal Places
3. Data Entry
4. Data Entry
ntrebarea 210.
UNC
( ) sau URL ( -) .
, i .
, , ,
-.
Variante de rspuns:
1. Display as Hyperlink
2. Hyperlink Address
3. Visible
4. Decimal Places
ntrebarea 211.
Access
.
Variante de rspuns:
1. Display as Hyperlink
2. Hyperlink Address
3. Decimal Places
4. Visible
ntrebarea 212.
.
.
96

.
.
Variante de rspuns:
1. Text Format
2. Input Mask
3. Default Value
4. Name
ntrebarea 213.
.
No (), .
Variante de rspuns:
1. Input Mask
2. Name
3. Enabled
4. Default Value
ntrebarea 214.
.
, , ,
.
Variante de rspuns:
1. Name
2. Enabled
3. Default Value
4. Input Mask
ntrebarea 215.
:

tblFisa ID, ID_SubDiviz, , .


Adausuri - Reineri ( - ) TextBox,
,
.

?
Variante de rspuns:
1. Default Value TextBox :
97

=Adausuri Retineri]( - )
2. Default Value TextBox :
=[Adausuri]-[Retineri] ]( - )
3. Control Source TextBox :
=Adausuri - Retineri]( - )
4. Control Source TextBox :
=[Adausuri]-[Retineri]( - )
ntrebarea 216.
:

Command Button Wizard ?


Variante de rspuns:
1. Command Button Wizard
Control Wizards.
2. Command Button Wizard
Use Control Wizards.
3. Command Button Wizard
Select macro.
4. Command Button Wizard Control Wizards.
Grupul (tema): T09.GrupuriRaport
ntrebarea 217.
Subdiviziuni ()

Report Header
Variante de rspuns:
1. Report Header , ( Detail)
2. Report Header , (
Detail)
98

3. Report Header , (
Detail)
4. Report Header , ( Detail)
ntrebarea 218.
Subdiviziuni ()

Page Header
Variante de rspuns:
1. Page Header , ( Detail)
2. Page Header , (
Detail)
3. Page Header , ( Detail)
4. Page Header , (
Detail)
ntrebarea 219.
Subdiviziuni ()

Page Footer
Variante de rspuns:
1. Page Footer , (
Detail)
99

2. Page Footer , (
Detail)
3. Page Footer , ( Detail)
4. Page Footer , ( Detail)
ntrebarea 220.
Subdiviziuni ()

Report Footer
Variante de rspuns:
1. Report Footer , ( Detail)
2. Report Footer , ( Detail)
3. Report Footer , (
Detail)
4. Report Footer , (
Detail)
ntrebarea 221.
Subdiviziuni ()

Tara Header ()
Variante de rspuns:
100

1. Tara Header ( Detail) ,


Tara ()
2. Tara Header ( Detail)
Tara ()
3. Tara Header ( Detail)
Tara ()
4. Tara Header ( Detail)
Tara ()
ntrebarea 222.
Subdiviziuni ()

Tara Footer ()
Variante de rspuns:
1. Tara Footer ( Detail)
Tara ()
2. Tara Footer ( Detail) ,
Tara ()
3. Tara Footer ( Detail)
Tara ()
4. Tara Footer ( Detail)
Tara ()
ntrebarea 223.
Subdiviziuni ()

101

Detail
Variante de rspuns:
1. Detail
2. Detail
3. Detail
4. Detail
Grupul (tema): T09.ProprietateRaport
ntrebarea 224.
.
, , .
(
VBA), ().
Variante de rspuns:
1. Text Boxes ( )
2. Rectangles ()
3. Lines ()
4. Labels ()
ntrebarea 225.

. .
.
.
Variante de rspuns:
1. Lines ()
2. Rectangles ()
3. Text Boxes ( )
4. Labels ()
ntrebarea 226.
.
,
. .
Variante de rspuns:
1. Labels ()
102

2. Text Boxes ( )
3. Rectangles ()
4. Lines ()
ntrebarea 227.
.
.
Variante de rspuns:
1. Labels ()
2. Lines ()
3. Text Boxes ( )
4. Rectangles ()
ntrebarea 228.
(OLE)
, , Excel.
Variante de rspuns:
1. Text Boxes ( )
2. Unbound Object Frames ( )
3. Rectangles ()
4. Bound Object Frames ( )
ntrebarea 229.
.
.
Variante de rspuns:
1. Bound Object Frames ( )
2. Text Boxes ( )
3. Unbound Object Frames ( )
4. Lines ()
ntrebarea 230.
,
. ,
, .
,
.
Variante de rspuns:
1. Bound Object Frames ( )
2. Unbound Object Frames ( )
3. Text Boxes ( )
4. Image ()
ntrebarea 231.
Rport
.
, , .
Variante de rspuns:
103

1. Caption ()
2. Auto Resize (- )
3. Allow Report View ( )
4. Default View ( )
ntrebarea 232.
Report view
( ) Print Preview ().
Variante de rspuns:
1. Auto Resize (- )
2. Caption ()
3. Allow Report View ( )
4. Default View ( )
ntrebarea 233.
Report view
( ). , Layout view
( ).
Variante de rspuns:
1. Default View ( )
2. Allow Report View ( )
3. Auto Resize (- )
4. Caption ()
ntrebarea 234.

.
Variante de rspuns:
1. Caption ()
2. Auto Resize (- )
3. Default View ( )
4. Allow Report View ( )
ntrebarea 235.

.
Variante de rspuns:
1. Auto Resize (- )
2. Default View ( )
3. Allow Report View ( )
4. Auto Center (-)
ntrebarea 236.

.
Variante de rspuns:
1. Auto Resize (- )
2. Fit to Page ( )
104

3. Auto Center (-)


4. Allow Report View ( )
ntrebarea 237.
Print Preview
.
nici unul: Min Max, . de Minimizare i
Maximizare a ferestrei ar trebui s fie disponibile din meniul de Control pentru fereastra raport n
modul Print Preview (Prevnici unulizualizare tiprire). Avei posibilitatea s selectai nici
unul, activat Min, Max activat, sau ambele activat.
Variante de rspuns:
1. Fit to Page ( )
2.
3. Auto Center (-)
4. Min Max Buttons ( Min Max)
ntrebarea 238.
Print Preview
MS Access
. nici unul: Min Max, .
Variante de rspuns:
1. Auto Center (-)
2.
3. Min Max Buttons ( Min Max)
4. Fit to Page ( )
ntrebarea 239.

.
Variante de rspuns:
1. Close Button ( )
2. Auto Center (-)
3. Fit to Page ( )
4. Min Max Buttons ( Min Max)
ntrebarea 240.

.
Variante de rspuns:
1. Min Max Buttons ( Min Max)
2.
3. Fit to Page ( )
4. Close Button ( )
ntrebarea 241.

. .
105

. TrueType
, .
Variante de rspuns:
1. Min Max Buttons ( Min Max)
2. Layout for Print ( )
3. Close Button ( )
4. Fit to Page ( )
ntrebarea 242.

, .
Variante de rspuns:
1. Close Button ( )
2. Min Max Buttons ( Min Max)
3. Moveable ()
4. Layout for Print ( )
ntrebarea 243.

. , .

.
Variante de rspuns:
1. Moveable ()
2. Layout for Print ( )
3. Record Source ( )
4. Close Button ( )
ntrebarea 244.
,
.
Variante de rspuns:
1. Filter ()
2. Filter On Load ( )
3. Layout for Print ( )
4. Record Source ( )
ntrebarea 245.
.
, Filter () .
Variante de rspuns:
1. Record Source ( )
2. Filter On Load ( )
3. Moveable ()
4. Filter ()
ntrebarea 246.
106


.
Variante de rspuns:
1. Order By ()
2. Record Source ( )
3. Filter ()
4. Filter On Load ( )
ntrebarea 247.

.
Variante de rspuns:
1. Filter ()
2. Allow Filters ( )
3. Filter On Load ( )
4. Order By ()
ntrebarea 248.

.
Variante de rspuns:
1. Order By On Load ( )
2. Allow Filters ( )
3. Filter On Load ( )
4. Order By ()
ntrebarea 249.

.
Variante de rspuns:
1. Record Locks ( )
2. Allow Filters ( )
3. Table Locks ( )
4. Order By On Load ( )
ntrebarea 250.
, ,
.
.
Variante de rspuns:
1. Ribbon Name ( )
2. Toolbar ( )
3. Shortcut Menu Bar ( ( ))
4. Menu Bar ( )
ntrebarea 251.

.
107

Variante de rspuns:
1. Toolbar ( )
2. Menu Bar ( )
3. Ribbon Name ( )
4. Shortcut Menu Bar ( ( ))
ntrebarea 252.

.
Variante de rspuns:
1. Menu Bar ( )
2. Shortcut Menu Bar ( ( ))
3. Ribbon Name ( )
4. Toolbar ( )
ntrebarea 253.

.
Variante de rspuns:
1. Toolbar ( )
2. Shortcut Menu Bar ( ( ))
3. Menu Bar ( )
4. Ribbon Name ( )
Grupul (tema): T10.MacroVBA
ntrebarea 254.
MS Access Create (). Other ()
Macro ()
?
Variante de rspuns:
1. VBA
2.
3.
4.
ntrebarea 255.
Macro Design

.
Access-, , .
Variante de rspuns:
108

1. Conditions ()
2. Actions()
3. Arguments ()
4. Name ()
ntrebarea 256.
Macro Design

;
Access. ,
, Access :
( , Design
).
Variante de rspuns:
1. Actions()
2. Arguments ()
3. Conditions ()
4. Name ()
ntrebarea 257.
Macro Design

,
Access.
.
Variante de rspuns:
1. Actions()
2. Conditions ()
3. Name ()
4. Arguments ()
109

ntrebarea 258.
Macro Design


. .
Variante de rspuns:
1. Arguments ()
2. Name ()
3. Actions()
4. Conditions ()
ntrebarea 259.
mcrOpenClients :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
OpenForm
MS Access

MS Access :
1. .
, Access drop .
2. ,
Run.
?
110

Variante de rspuns:
1. Macro Design ( )
2. VBA
3. .
4.
ntrebarea 260.
.
frmPersonalInfo . optGender
OptionButton (1 .; 2 .).

mcrPersonalInfo :
Macro Name
Macro Condition
( )
( )
CheckGender

[Forms]![frmPersonalInfo]![optGender]=1

Macro Actio
(

MsgBox

[Forms]![frmPersonalInfo]![optGender]=2

MsgBox
MsgBox

:
1. .
cmdCheckGender.
2. .
3.
. click () .
4.
. mcrPersonalInfo
CheckGender.
?
Variante de rspuns:
1.
2.
3.
111

4.
ntrebarea 261.
.
frmPersonalInfo . txtBirthDate textBox
() .
mcrPersonalInfo :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
CheckBirthDate
DateDiff(yyyy, [Forms]!
MsgBox
[frmPersonalInfo]! [txtBirthDate], Date())
Between 25 And 49
?
Variante de rspuns:
1.

2.

3.

4.

ntrebarea 262.
.
frmPersonalInfo . txtBirthDate textBox
() .
mcrPersonalInfo :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
CheckBirthDate
DateDiff(yyyy, [Forms]!
MsgBox
[frmPersonalInfo]! [txtBirthDate], Date())
Between 50 And 74
?
Variante de rspuns:
1.

2.

3.

4.

ntrebarea 263.
112

.
frmPersonalInfo . txtBirthDate textBox
() .
mcrPersonalInfo :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
CheckBirthDate
DateDiff(yyyy, [Forms]!
MsgBox
[frmPersonalInfo]! [txtBirthDate], Date())
Between 75 And 99
?
Variante de rspuns:
1.

2.

3.

4.

ntrebarea 264.
.
frmPersonalInfo . txtBirthDate textBox
() .
mcrPersonalInfo :
Macro Name
Macro Condition
Macro Action
Argument
(
( )
(
()
)
)
CheckBirthDate
DateDiff(yyyy, [Forms]!
MsgBox
;
[frmPersonalInfo]!
Yes; None;
[txtBirthDate], Date()) >100
?
Variante de rspuns:
1.

2.

3.

4.

Grupul (tema): T10.MacroOperatiiVBA
ntrebarea 265.
VBA frm_SubDiviz?
113

Variante de rspuns:
1. Macro1 :
Macro Name
Macro Condition
( )
( )

Macro Action
( )
OpenForm

VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenForm "frm_SubDiviz", acNormal, "", "", , acNormal
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
2. Macro1 :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
OpenForm
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenForm "frm_SubDiviz", acViewNormal, acEdit
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
3. Macro1 :
Macro Name
Macro Condition
( )
( )

VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
Do.OpenForm "frm_SubDiviz", acNormal, "", "", , acNormal
Macro1_Exit:
Exit Function
114

Macro Action
( )
OpenForm

Argume
(
frm_Sub
Normal

Argume
(
frm_Sub
Normal

Argume
(
frm_Sub
Normal

Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
4. Macro1 :
Macro Name
Macro Condition
( )
( )

Macro Action
( )
OpenForm

VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.CloseForm "frm_SubDiviz", acNormal, "", "", , acNormal
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
ntrebarea 266.
VBA frm_SubDiviz?
Variante de rspuns:
1. Macro1 :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
CloseAll
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.Close acForm, "frm_SubDiviz"
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
2. Macro1 :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
Close
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
115

Argume
(
frm_Sub
Normal

Argume
(
Form; fr

Argume
(
Form; fr

DoCmd.Close acForm, "frm_SubDiviz"


Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
3. Macro1 :
Macro Name
Macro Condition
( )
( )

Macro Action
( )
Close

Argume
(
Form; fr

Macro Action
( )
Close

Argume
(
Form; fr

VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.Close acReport, "frm_SubDiviz"
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
ntrebarea 267.
VBA Subdiviziuni
()?
Variante de rspuns:
1. Macro1 :
Macro Name
Macro Condition
Macro Action
( )
( )
( )

Argum
(

VBA Macro1:
Function Macro1()
On.Error.GoTo Macro1_Err
DoCmd.Close acForm, "frm_SubDiviz"
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
4. Macro1 :
Macro Name
Macro Condition
( )
( )

116

OpenReport
VBA Macro1:
Function Macro1()
On.Error.GoTo.Macro1_Err
DoCmd.OpenReport "Subdiviziuni", acViewReport, "", "", acNormal
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
2. Macro1 :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
OpenReport
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenReport "Subdiviziuni", acViewReport, "", "", acNormal
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
3. Macro1 :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
OpenReport
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenForm "Subdiviziuni", acViewReport, "", "", acNormal
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
4. Macro1 :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
117

Subdiv

Argum
(
Diviziu

Argum
(
Subdiv

Argum
(

OpenReport
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenReport "Subdiviziuni", acViewReport, "", "", acNormal
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
ntrebarea 268.
VBA tbl_SubDiviz
?
Variante de rspuns:
1. Macro1 :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
OpenTable
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.ShowTable "tbl_SubDiviz", acViewNormal, acEdit
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
2. Macro1 :
Macro Name
Macro Condition
Macro Action
( )
( )
( )
OpenTable
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenTable "tbl_SubDiviz", acViewNormal, acEdit
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
118

Subdiv

Argum
(
tbl_Sub

Argum
(
tbl_Sub

End Function
3. Macro1 :
Macro Name
Macro Condition
( )
( )

VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenTable "tbl_SubDiviz", acViewNormal, acReadOnly
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
4. Macro1 :
Macro Name
Macro Condition
( )
( )

Macro Action
( )
OpenTable

Argum
(
tbl_Sub
Only

Macro Action
( )
OpenTable

Argum
(
tbl_Di

VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenTable "tbl_SubDiviz", acViewNormal, acEdit
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
ntrebarea 269.
VBA Query01
?
Variante de rspuns:
1. Macro1 :
Macro Name
Macro Condition
Macro Action
Argument
( ) (
(
()
)
)
OpenQuery
Query01; Datasheet; Edit
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenQuery "Query01", acViewNormal, acEdit
119

Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End
2. Macro1 :
Macro Name
Macro Condition
( )
( )
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenQuery "Query01", acViewNormal, acAdd
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
3. Macro1 :
Macro Name
Macro Condition
( )
( )
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenTable "Query01", acViewNormal, acEdit
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
4. Macro1 :
Macro Name
Macro Condition
( )
( )
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.OpenQuery "Query01", acViewNormal, acEdit
120

Macro Action
( )
OpenQuery

Argum
(
Query

Macro Action
( )
OpenQuery

Argum
(
Query

Macro Action
( )
OpenQuery

Argum
(
Query

Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
ntrebarea 270.
VBA Access
?
Variante de rspuns:
1. Macro1 :
Macro Name
Macro Condition
Macro Action
Argument
(
(
(
()
)
)
)
Quit
Prompt
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.Quit acPrompt
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
2. Macro1 :
Macro Name
Macro Condition
Macro Action
Argument
(
(
(
()
)
)
)
Quit
Save All
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.Close acSave
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
3. Macro1 :
Macro Name
Macro Condition
Macro Action
Argument
121

(
)

(
)

(
)
Quit

()
Save All

VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.Quit acSave
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
4. Macro1 :
Macro Name
Macro Condition
Macro Action
Argument
(
(
(
()
)
)
)
Quit
Exit
VBA Macro1:
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.Quit acExit
Macro1_Exit:
Exit Function
Macro1_Err:
MsgBox Error$
Resume Macro1_Exit
End Function
Grupul (tema): T11.InitiereVBA
ntrebarea 271.
VBA ,
.
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 272.
Database Tools (
) Visual Basic Macro (). Access
Access Visual Basic Editor (VBE). Insert (),
Module () VBE.
Variante de rspuns:
122

1.
2.
3.
4.
ntrebarea 273.
(standalone)
. (standalone) ,
Insert () Class Module VBE.
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 274.
VBA Visual Basic Editor, VBE. Access VBE
:
Variante de rspuns:
1. Visual Basic Macro () Home ()
Alt + F11.
2. Macro Macro () Database Tools (
) Alt + F11.
3. Visual Basic Macro () Database Tools (
) Alt + F11.
4. Visual Basic Macro () Create ()
Alt + F11.
ntrebarea 275.
:
Private Var1 as Integer
Var1?
Variante de rspuns:
1. .
2. ,
.
3.

4. MS Access , VBA

ntrebarea 276.
:
Public Var1 as Integer
Var1?
Variante de rspuns:
123

1.

2. .
3. MS Access , VBA

4. ,
.
ntrebarea 277.
Access Option Explicit
.

?
Variante de rspuns:
1. Access, VBE, Tools
(), Options (). Editor, Auto
Indent
2. Access, VBE, Tools
(), Options (). Editor, Auto Syntax
Check
3. Access, VBE, Tools
(), Options (). Editor, Require
Variable Declaration
4. Access, VBE, Tools
(), Options (). Editor, Auto Data
Tips
ntrebarea 278.
(Option Explicit )
Dim intAmount As Integer
Dim intTotal As Integer
intAmount = 2
intTotal = intAmont * 2
intTotal?
124

Variante de rspuns:
1. 4
2. 0
3. 2
4.
ntrebarea 279.
(Option Explicit )
Dim intAmount As Integer
Dim intTotal As Integer
intAmount = 2
intTotal = intAmont * 2
intTotal?
Variante de rspuns:
1. 0
2. 4
3.
4. 2
ntrebarea 280.
,
.
Variante de rspuns:
1. Public
2. Static
3. Privat
4. Local
Partea 3 40%: Numr de ntrebri - 81, (22,44%).
Grupul (tema): T11.InitiereVBA_T04
ntrebarea 281.
( Dim i As Integer ) VBA
MS Access?
Variante de rspuns:
1. ' ====================================================
'
' i . ' Dim i As Integer
' ====================================================
2. ' ====================================================
'
Dim i As Integer ' i .
' ====================================================
3. ' ====================================================
'
' i . Dim i As Integer
' ====================================================
125

4. ' ====================================================
'
Dim i As Integer i .
' ====================================================
ntrebarea 282.
MS Access?
Variante de rspuns:
1. : Dim, As, If, Then, ElseIf, Else,
End If, Select Case, Case, Case Else, End Select, To, For, Next, Step, From, New, Continue For, Exit
For, Public, Enum, End Enum, Sub, Private, Class, End Sub, End Class, While, End While, Do,
Loop Until, Do While, Loop, Exit Do, Function, Exit Function, Return, End Function, Stop, Try,
Catch, Finally, End Try, Throw, On, Error, GoTo, Resume Next
2. , , , , , ,
, (, , , ),
A..Z, a..z, 0..9, ( _ ).
( _ ) ,
, ( _ ).
3. ( ), ( , ), ( ; ), ( . ), ( )
, ( : ), ( _ ).
4. , /
.
ntrebarea 283.
VBA MS Access?
Variante de rspuns:
1. ( ), ( , ), ( ; ), ( . ), ( )
, ( : ), ( _ ).
2. , /
.
3. , , , , , ,
, (, , , ),
A..Z, a..z, 0..9, ( _ ).
( _ ) ,
, ( _ ).
4. : Dim, As, If, Then, ElseIf, Else, End If, Select Case, Case, Case Else,
End Select, To, For, Next, Step, From, New, Continue For, Exit For, Public, Enum, End Enum, Sub,
Private, Class, End Sub, End Class, While, End While, Do, Loop Until, Do While, Loop, Exit Do,
Function, Exit Function, Return, End Function, Stop, Try, Catch, Finally, End Try, Throw, On, Error,
GoTo, Resume Next
ntrebarea 284.
VBA MS Access:
Dim str1: Dim str2
str1 = "10": str2 = "4"
str1 = str1 + str2
126

str1 ?
Variante de rspuns:
1. 410
2. 14
3.
4. 104
ntrebarea 285.
VBA MS Access:
Dim var1 As Integer: Dim var2 As Integer
var1 = 11: var2 = 4
var1 = var1 / var2
var1 ?
Variante de rspuns:
1. 2
2. 4
3. 2.75
4. 3.25
ntrebarea 286.
VBA MS Access:
Dim var1 As Integer
var1 = 11 \ 4
var1 = 9 \ 3
var1 = 100 \ 3
var1 = 67 \ -3
() var1
?
Variante de rspuns:
1. 2; 3; 33; -22;
2. 3; 2; 33; -22;
3. -22; 33; 3; 2;
4. -22; 3; 2; 33;
ntrebarea 287.
VBA MS Access:
Dim var1 As Integer
var1 = 67 \ -3
var1 = 9 \ 3
var1 = 11 \ 4
var1 = 100 \ 3
() var1
?
Variante de rspuns:
1. 3; 2; 33; -22;
2. 2; 3; 33; -22;
127

3. -22; 3; 2; 33;
4. -22; 33; 3; 2;
ntrebarea 288.
VBA MS Access:
Dim var1 As Double
var1 = (-5) ^ 3
var1 = (-5) ^ 4
var1 = 8 ^ (1.0 / 3.0)
var1 = 8 ^ (-1.0 / 3.0)
() var1
?
Variante de rspuns:
1. -125; 625; 2; 0.5;
2. 625; -125; 0.5; 2;
3. 125; -625; 2; 0.5;
4. 625; -125; 2; 0.5;
ntrebarea 289.
VBA MS Access:
Dim var1 As Double
var1= 47.9 Mod 9.35
var1= 10 Mod 5
var1= 10 Mod 3
var1= 12 Mod 4.3
var1= 12.6 Mod 5
() var1
?
Variante de rspuns:
1. 2.6;1.15; 0; 1; 3.4;
2. 1.15; 0; 1; 34; 2.6;
3. 3.4; 1.15; 0; 1; 2.6;
4. 1.15; 0; 1; 3.4; 2.6;
ntrebarea 290.

VBA MS Access?
Variante de rspuns:
1. Dim c As Integer: c = 6
Dim firstCheck, secondCheck, thirdCheck As Boolean
Dim testResult As Double
Dim SampleStr As String: SampleStr = "de"
Dim SomeDateAndTime As Date: SomeDateAndTime = #08/14/2012 12:14 PM#
2. Dim c As Integer: c = 6
Dim firstCheck, secondCheck, thirdCheck As Boolean
Dim testResult As Double
128

Dim SampleStr As String: SampleStr = #08/14/2012 12:14 PM#


Dim SomeDateAndTime As Date: SomeDateAndTime = "de"
3. Dim c As Integer: c = 6
Dim firstCheck, secondCheck, thirdCheck As Boolean
Dim testResult As Double
Dim SampleStr As String: SampleStr = 'de'
Dim SomeDateAndTime As Date: SomeDateAndTime = '#08/14/2012 12:14 PM#'
4. Dim c As Integer: c = 6
Dim firstCheck, secondCheck, thirdCheck As Boolean
Dim testResult As Double
Dim SampleStr As String: SampleStr = #de#
Dim SomeDateAndTime As Date: SomeDateAndTime = "#08/14/2012 12:14 PM#"
ntrebarea 291.
VBA MS Access:
Dim varArray()
ReDim Preserve varArray(10)
ReDim Preserve varArray(UBound(varArray) + 10)
?
Variante de rspuns:
1. -
- 10- ( 0 9)
- 20- ( 0 19)
2. -
- 20- ( 0 19)
- 10- ( 0 9)
3. -
- 10- ( 1 10)
- 20- ( 1 20)
4. -
- 20- ( 1 20)
- 10- ( 1 10)
ntrebarea 292.
VBA MS Access:
Function primer_1 (ByVal length As Double, ByVal width As Double) As Double
primer _1 = length * width
End Function
?
Variante de rspuns:
1. primer _1
length i width.
2. primer _1
length width.
129

3. primer _1
length i width.
4. primer _1
length width.
ntrebarea 293.
VBA MS Access:
Dim TestStr As String
?
Variante de rspuns:
1. TestStr = Format(Now(), "LT")
2. TestStr = Format(Now(), "Long Time")
3. TestStr = Format(Now(), "Long Date")
4. TestStr = Format(Now(), "D")
ntrebarea 294.
VBA MS Access:
Dim TestStr As String
Dim TestDateTime As Date : TestDateTime = #1/27/2001 5:04:23 PM#
05:04:23 PM TestStr?
Variante de rspuns:
1. TestStr = Format(Now(), "Long Time")
2. TestStr = Format(TestDateTime, "dddd, MMM d yyyy")
3. TestStr = Format(TestDateTime, "HH:mm:ss")
4. TestStr = Format(TestDateTime, "hh:mm:ss tt")
ntrebarea 295.
VBA MS Access:
Dim SearchString As String : SearchString = "XXpXXpXXPXXP"
Dim SearchChar As String : SearchChar = "P"
Dim TestPos As Integer
4- TestPos = 6?
Variante de rspuns:
1. TestPos = InStr(4, SearchString, SearchChar, CompareMethod.Binary)
2. TestPos = InStr(1, SearchString, SearchChar, CompareMethod.Text)
3. TestPos = InStr(1, SearchString, SearchChar, CompareMethod.Binary)
4. TestPos = InStr(4, SearchString, SearchChar, CompareMethod.Text)
ntrebarea 296.
InStrRev(SearchString, SearchChar, n, CompareMethod) :
Variante de rspuns:
1. SearchChar SearchString (
), CompareMethod (Text , Binary
), n ( 1, ) ,
, n=-1,
( ).
130

2. SearchChar SearchString,
CompareMethod (Text , Binary
), n (
).
3. SearchChar SearchString (
), CompareMethod (Text , Binary
), n ( 1, ) ,
, n=-1,
( ).
4. SearchChar SearchString,
CompareMethod (Text , Binary
), n (
).
ntrebarea 297.
VBA MS Access:
Dim aDateString, aTimeString As String
Dim aDate, aTime As Date
aDateString = "February 12, 1969" ' SO.
aTimeString = "4:35:47 PM"
aDate = CDate(aDateString)
?
Variante de rspuns:
1. aTimeString Date
aTime
2.
3. aDateString aDate
SO
4. aDateString Date
aDate
ntrebarea 298.
VBA MS Access:
Dim aDateString, aTimeString As String
Dim aDate, aTime As Date
aDateString = "February 12, 1969" ' SO.
aTimeString = '4:35:47 PM'
aDate = CDate(aDateString)
?
Variante de rspuns:
1. aDateString Date
aDate
2.
3. aTimeString Date
aTime
131

4. aDateString aDate
SO
ntrebarea 299.
VBA MS Access:
Dim oldDate As Date
Dim oldWeekDay1, oldWeekDay2 As Integer
oldDate = #12/29/2011#
oldWeekDay1 = Weekday(oldDate, vbMonday) 'oldWeekDay=4
oldWeekDay2 = Weekday(oldDate, 2) 'oldWeekDay=4
oldWeekDay1
oldWeekDay2?
Variante de rspuns:
1. oldWeekDay1 = 4
oldWeekDay2 =4
2. oldWeekDay1 = 4
oldWeekDay2 =3
3. oldWeekDay1 = 1
oldWeekDay2 =2
4. oldWeekDay1 = 4
oldWeekDay2 =5
ntrebarea 300.
(VBA MS Access) Ind (1..7)
?
Variante de rspuns:
1. Function GetNameDay(Ind As Integer)
GetNameDay = Switch (Ind, " ", " ", " ", " ", " ", "
", " ")
End Function
2. Function GetNameDay (Ind As String)
GetNameDay = Choose (Ind = " ", " ", " ", " ", "
", " ", " ")
End Function
3. Function GetNameDay (Ind As String)
GetNameDay = Switch (Ind = " ", " ", " ", " ", " ",
" ", " ")
End Function
4. Function GetNameDay(Ind As Integer)
GetNameDay = Choose (Ind, "", "", "", "", "",
"", "")
End Function
ntrebarea 301.
VBA MS Access ?
132

Variante de rspuns:
1. Dim Message, Title, Default, sValue
Message = "Introdu un numr de la 1 la 3"
Title = "InputBox Demo"
Default = "1"
sValue = InputBox(Default, Message, Title)
2. Dim Message, Title, Default, sValue
Message = "Introdu un numr de la 1 la 3"
Title = "InputBox Demo"
Default = "1"
sValue = InputBox(Title, Message, Default)
3. Dim Message, Title, Default, sValue
Message = "Introdu un numr de la 1 la 3"
Title = "InputBox Demo"
Default = "1"
sValue = InputBox(Message, Title, Default)
4. Dim Message, Title, Default, sValue
Message = "Introdu un numr de la 1 la 3"
Title = "InputBox Demo"
Default = "2"
sValue = InputBox(Message, Title, Default)
ntrebarea 302.
VBA MS Access:
Sub Using_IF()
Dim x As Integer : x =50
If x <= 10 Then
MsgBox "X is <=10"
ElseIf x <= 40 And x > 10 Then
MsgBox "X is <=40 and > 10"
ElseIf x <= 70 And x > 40 Then
MsgBox "X is <=70 and > 40"
ElseIf x <= 100 And x > 70 Then
MsgBox "X is <= 100 and > 70"
Else
MsgBox "X does not fall within the range"
End If
End Sub
133

?
Variante de rspuns:
1. , "X is
number <=70 and > 40"
2.
3. , "X
does not fall within the range"
4. , "X is
<=70 and > 40"
ntrebarea 303.
VBA MS Access
?
Variante de rspuns:
1. Function NumInterval (ByVal age As Integer) As String
Select Case NumInterval
Case 1 To 5
NumInterval = " 1 5 "
Case 6, 7, 8
NumInterval = " 6 8 "
Case 9 To 10
NumInterval = " 8"
Case Otherwise
NumInterval = " 1 10"
End Select
End Function
2. Function NumInterval (ByVal age As Integer) As String
Select Case NumInterval
Case 1 To 5
NumInterval = " 1 5 "
Case 6, 7, 8
NumInterval = " 6 8 "
Case 9 To 10
NumInterval = " 8"
Case Default
NumInterval = " 1 10"
End Select
End Function
3. Function NumInterval (ByVal age As Integer) As String
Select Case NumInterval
Case 1
NumInterval = " 1 5 "
Case 2
134

NumInterval = " 6 8 "


Case 3
NumInterval = " 8"
Case Else
NumInterval = " 1 10"
End Select
End Function
4. Function NumInterval (ByVal age As Integer) As String
Select Case NumInterval
Case 1 To 5
NumInterval = " 1 5 "
Case 6, 7, 8
NumInterval = " 6 8 "
Case 9 To 10
NumInterval = " 8"
Case Else
NumInterval = " 1 10"
End Select
End Function
ntrebarea 304.
VBA MS Access:
Function IntervalNumber(LNumber As Variant) As String
Select Case LNumber
Case Is < 100
[IntervalNumber] = "Number <100"
Case Is < 200
[IntervalNumber] = "Number >=100 si <200"
Case Is < 300
[IntervalNumber] = "Number >=200 si <300"
Case Else
[IntervalNumber] = "Number >=300"
End Select
End Function
:
Dim varText
varText = IntervalNumber(200)
MsgBox varText
varText ?
Variante de rspuns:
1. "Number >= 100 < 300"
2. "Number >= 200 < 300"
3. "Number >= 200"
135

4. "Number <=300"
ntrebarea 305.
VBA MS Access:
Dim Words, Chars, sString
For Words = 10 To 1 Step -1
For Chars = 0 To 9
sString = sString & Chars
Next Chars
sString = sString & vbCr
Next Words
sString ?
Variante de rspuns:
1. 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789
0123456789 0123456789 0123456789
2. 9876543210
9876543210
9876543210
9876543210
9876543210
9876543210
9876543210
9876543210
9876543210
9876543210
3. 9876543210 9876543210 9876543210 9876543210 9876543210 9876543210 9876543210
9876543210 9876543210 9876543210
4. 0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
0123456789
ntrebarea 306.
VBA MS Access:
Function IsArrayAllocated(Arr As Variant) As Boolean
On Error Resume Next
IsArrayAllocated = IsArray(Arr) And _
Not IsError(LBound(Arr, 1)) And _
136

LBound(Arr, 1) <= UBound(Arr, 1)


End Function
Function calcSum(ByRef args() As Variant) As Variant
Dim i As Integer
calcSum = 0
If IsArrayAllocated(args) = True Then
For i = 0 To UBound(args, 1)
calcSum = calcSum + args(i)
Next i
calcSum= calcSum+1
Else
MsgBox " !!!"
End If
End Function
:
Dim mArray() As Variant
mArray = Array(1, 2, 3, 4)
Dim returnedValue As Variant: returnedValue = calcSum(mArray)
MsgBox returnedValue
?
Variante de rspuns:
1. , "11"
2. , "10"
3. , "1"
4. ,
" !!!"
ntrebarea 307.
VBA MS Access:
Dim index As Integer: index = 0
Dim s As String: s = ""
Do
s = s & index & " "
index = index + 1
Loop Until index > 10
s = "s= " & s & vbCr & "index=" & index
MsgBox s
?
Variante de rspuns:
1. ,
s = 0 1 2 3 4 5 6 7 8 9 10 index=11
2. ,
s = 0 1 2 3 4 5 6 7 8 9 10 index=10
137

3. ,
s = 0 1 2 3 4 5 6 7 8 9 10
index=10
4. ,
s = 0 1 2 3 4 5 6 7 8 9 10
index=11
Grupul (tema): T12.ObiectePropEven
ntrebarea 308.
. ,
, , , , .
Variante de rspuns:
1. ActiveX
2.
3.
4. Access
ntrebarea 309.
, .
, ; ,
. ,
, ,
RecordSource .
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 310.
Access, .
, , ,
, .. Access .
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 311.
.
.
.
GoToPage ( ) .
Variante de rspuns:
1.
2.
138

3.
4.
ntrebarea 312.
Object Browser cu uurin poate fi afiat din Editorul Visual Basic. Facei clic pe butonul Object
Browser de pe toolbar, apsai F2 sau selectai View apoi Object Browser din VBE.
Pentru ce este destinat Object Browser?
Variante de rspuns:
1. Un instrument puternic care poate ajuta n listarea i operaii cu obiectele care fac parte din
mediul Microsoft Windows i Access
2. Afieaz proprietile i metodele care sunt asociate cu un anumit obiect
3. Navigarea rapid ntre procedurile de aplicare
4. Afieaz tipurile de obiecte disponibile
ntrebarea 313.
:
Forms.frmProjects
Forms!frmProjects
Forms(frmProjects)
Forms(0)
?
Variante de rspuns:
1. VBA frmProjects.
2. frmProjects VBA. Forms(0),
frmProjects !
3. frmProjects VBA.
4. VBA frmProjects. Forms(0), frmProjects
!
ntrebarea 314.

Forms.frmProjects.txtClientID

Me.txtClientID
?
Variante de rspuns:
1. Me (frmProjects)
2.
3. Me (frmProjects) .
4. . Me
ntrebarea 315.
:
Forms.frmHello.cmdHello.Visible = False
Variante de rspuns:
1. cmdHello frmHello

139

2. frmHello cmdHello

3. cmdHello frmHello

4. frmHello cmdHello

ntrebarea 316.
:
Forms.frmPersonal.Caption = " "
Variante de rspuns:
1. ,
Caption
2. frmPersonal
3. frmPersonal Label1 ( )
Caption
4. frmPersonal ,

ntrebarea 317.
(Option Explicit ):
strFirstName = Forms.frmClients.txtFirstName.Value
Variante de rspuns:
1. Value txtFirstName
frmClients strFirstName
2. , strFirstName
3. txtFirstName frmClients
strFirstName
4. Value frmClients
txtFirstName strFirstName
ntrebarea 318.
(Option Explicit ):
MsgBox Forms.frmClients.txtFirstName.Value
Variante de rspuns:
1. Value txtFirstName
frmClients
2. , MsgBox
3. Value frmClients
txtFirstName
4. Value txtFirstName
frmClients
ntrebarea 319.
:
Forms.frmHello.txtHelloWorld.SetFocus
Variante de rspuns:
140

1. , SetFocus
2. txtFirstName frmClients
Tab Key
3. txtFirstName frmClients
4. txtFirstName frmClients
SetFocus
ntrebarea 320.
:
Dim cbr As CommandBar
Set cbr = CommandBars.Add("MyNewCommandBar")
Variante de rspuns:
1. Add CommandBars
CommandBar cbr.
2. CommandBars Add
CommandBar cbr.
3. , MS
Access VBA
4. cbr MyNewCommandBar
ntrebarea 321.

Forms.frmHello.txtHello.Value = " "

Forms.frmHello.txtHello = " "


?
Variante de rspuns:
1. , Value ()
, .
2.
3. ,
.
4. , Value ()
, (
).
ntrebarea 322.
cmdHello:
Private Sub cmdChangeCaption_Click()
Dim cmdAny As CommandButton
Set cmdAny = Me.cmdHello
cmdAny.Caption =
End Sub
Variante de rspuns:
1. cmdAny cmdHello
.
141

2. Caption cmdHello
3. Caption cmdHello

4. cmdAny

ntrebarea 323.
,
, , ,
. , .
,
.
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 324.
Access , , ,
.

Variante de rspuns:
1.
2.
3.
4.
ntrebarea 325.

Private Sub ChangeVisible_Click()
Dim ctlAny As Control
Set ctlAny = Me.txtCustomerID
ctlAny.Visible = False
End Sub
ctlAny
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 326.

Private Sub cmdChangeVisible_Click()
Dim txtAny As TextBox
Set txtAny = Me.txtCustomerID
142

txtAny.Visible = False
End Sub
txtAny
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 327.

Private Sub cmdChangeVisible_Click()
Dim txtAny As ComboBox
Set txtAny = Me.cmbBox01
txtAny.Visible = False
End Sub
txtAny
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 328.

Dim intVar1 As Integer
Dim intVar2 As Integer
intVar1 = 5
intVar2 = intVar1
intVar1 = 10
Debug.Print intVar1
Debug.Print intVar2
intVar1 intVar2
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 329.
,
.
frmNew:
Variante de rspuns:
1. Set frmNew = Null
2. Set frmNew = Nothing
143

3. frmNew = Null
4. frmNew = Nothing
Grupul (tema): T12.SGBD_T02
ntrebarea 330.
, :
Variante de rspuns:
1. , , , .
2. , , , .
3. , , , .
4. , , , VFP.
ntrebarea 331.
:
Variante de rspuns:
1. ,
.
2.
.
3.
.
4.
.
ntrebarea 332.
:
Variante de rspuns:
1. , , ,
, ,
.
2. (, ),
, (, )
, .
3. .
4. , (,
).
ntrebarea 333.

Variante de rspuns:
1.
.
2. ,
, , , ,
.
3.
, .
144

4. , ,
,
ntrebarea 334.
:
( , , ,
, ..);
(, , );
(, ).
:
Variante de rspuns:
1. .
2. .
3. .
4. .
ntrebarea 335.
?
,
, , .
, , .
: =
f(, ).
Variante de rspuns:
1. .
2. -.
3. .
4. -.
ntrebarea 336.
?
,
, .
,
,
.
Variante de rspuns:
1. .
2. .
3. .
4. -.
ntrebarea 337.

. ,
. ,
145

.
. ( ).
?
Variante de rspuns:
1. .
2. .
3. .
4. -.
ntrebarea 338.
,
:
- ;
- .
?
Variante de rspuns:
1. .
2. .
3. .
4. .
ntrebarea 339.
,
,
.
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 340.
?
Variante de rspuns:
1. 1955
2. 1969
3. 1980
4. 1972
ntrebarea 341.
?
,
.
Variante de rspuns:
1. ,
2. ,
3. ,
146

4. ,
ntrebarea 342.
4 :
- ;
- , ,
;
- ;
- ;
?
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 343.
()
:
Variante de rspuns:
1. - ;
- ;
- (, );
- ;
- ;
- .
2. - ;
- ;
- (, );
- ;
-
3. - ;
- ;
- ;
- ;
-
4. - ;
- (, );
- ;
- ;
-
ntrebarea 344.
?

147

, ,
, , , ,
.. .
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 345.
?
Variante de rspuns:
1.
.
2.
.
3.
..
4.
, .
ntrebarea 346.
?
Variante de rspuns:
1.
.
2.
..
3.
, .
4.
.
ntrebarea 347.
, ,
( )?
.
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 348.
,
( )?
148

,
, .
.
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 349.
, (
)?
OLAP - (On-Line Analytical Processing)
-.
, .
Variante de rspuns:
1.
2.
3.
4.
ntrebarea 350.
:
Variante de rspuns:
1. 10% - 20%
2. 90%
3. 10%
4. 50% - 60%
ntrebarea 351.
( )

?
Variante de rspuns:
1. 1. ; 2. ; 3. i; 4. ; 5. .
2. 1. ; 2. ; 3. ; 4. i; 5. .
3. 1. ; 2. ; 3. i; 4. ; 5. .
4. 1. ; 2. ; 3. i; 4. ; 5. .
ntrebarea 352.

149

R1
R2,
R1 i R2.
Variante de rspuns:
1.
2. ()
3.
4.
ntrebarea 353.
E. . .
?
Variante de rspuns:
1. 1956
2. 1969
3. 1980
4. 1970
ntrebarea 354.
/ ,
.
.
Variante de rspuns:
1. 1-
2. 3-
3. Boyce Codd
4. 2-
ntrebarea 355.
E. . 1985 13 ,
.
?
Variante de rspuns:
1.
.
2. ,
.
3. () .

0, .
4.
: , .
ntrebarea 356.
E. . 1985 13 ,
.
?
150

Variante de rspuns:
1. ,
.
2.
.
3.
: , .
4. () .

0, .
ntrebarea 357.
E. . 1985 13 ,
.
?
Variante de rspuns:
1. .
2. .
3. ,
, , , .
4. .
ntrebarea 358.
E. . 1985 13 ,
.
?
Variante de rspuns:
1. .
2. .
3. ,
, , , .
4. .
ntrebarea 359.
E. . 1985 13 ,
.
?
Variante de rspuns:
1.
.
2. .
3. .
, .
4.
.
ntrebarea 360.
151

E. . 1985 13 ,
.
?
Variante de rspuns:
1. .
2.
.
3. .
, .
4.
.
ntrebarea 361.
E. . 1985 13 ,
.
?
Variante de rspuns:
1. . ,
, , , .
2. .
3.
,
.
4.
.

152

Оценить