logo

Crowdly

Browser

Add to Chrome

L15.4292 - Data Modelling (2024/2025)

Looking for L15.4292 - Data Modelling (2024/2025) test answers and solutions? Browse our comprehensive collection of verified answers for L15.4292 - Data Modelling (2024/2025) at moodle.lisboa.ucp.pt.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Qual o output do seguinte programa supondo que é inicialmente chamado o procedimento P?

Function f(ByVal X As Integer) As Integer

f = X \ 3 Mod 5

End Function

Sub P()

Dim Y As Integer

Y = f(-17)

Call MsgBox(Y)

End Sub

100%
0%
0%
0%
0%
View this question

Qual o output do seguinte troço de programa?

FOUND = FALSE

X=1

Y=2

do

X = X \ 2 + Y

Y = Y + 1

FOUND = X = Y

loop until FOUND

call msgbox(X)

100%
0%
0%
0%
0%
View this question

5.

Qual o output do seguinte troço de programa?

Y=5

for X=1 to 3

Y = Y + Y \ X

next

call msgbox(Y)

0%
0%
0%
0%
100%
View this question

Qual o output do seguinte troço de programa?

x=1

a=3

for i=x to x+1

  a=a*i

next

call msgbox(a)

0%
0%
0%
0%
100%
View this question

1.

Qual o output do seguinte troço de programa?

X=2

Y=X+4

X=X-Y

Y=2*Y+X

call msgbox(Y)

100%
0%
0%
0%
0%
View this question

5.

Qual o valor da seguinte expressão?

LEN("CARA" & "MELO") \ -5

0%
0%
0%
0%
0%
View this question

4.

Qual o valor da seguinte expressão?

12.5E-2*INT(1000.3)

0%
0%
0%
0%
100%
View this question

3. Qual o valor da seguinte expressão?

(43 MOD 7) \ 2

0%
100%
0%
0%
0%
View this question

2.

Qual o valor da seguinte expressão?

LEN(MID("LISBOA",INSTR("LISBOA","IS")))

50%
0%
0%
50%
View this question

X=2

Y=4

Z=10

do

   X=Y-X

   Y=Z-Y

loop until Z < X+Y

call msgbox(X)

0%
0%
0%
0%
0%
View this question

Want instant access to all verified answers on moodle.lisboa.ucp.pt?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome