11900程1-20

11900程1-20

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

2023 Tinkercad Test2

2023 Tinkercad Test2

9th Grade

20 Qs

音のデジタル化

音のデジタル化

9th Grade

15 Qs

illustrator练习

illustrator练习

10th Grade

15 Qs

传输媒介

传输媒介

11th Grade

18 Qs

1920 S4 ICT CPU & IO

1920 S4 ICT CPU & IO

9th - 12th Grade

20 Qs

11900系發21-40

11900系發21-40

9th - 12th Grade

20 Qs

S16.4 未来的互联网

S16.4 未来的互联网

10th Grade - University

25 Qs

11900程1-20

11900程1-20

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

ljalja'u tjuvatjuva

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

在 Visaul basic.NET 語言中, 若要求X值至小數點第一位(即第二位四捨五 入), 應該採用下列何敘述?

X=Int(X*10)/10
X=Int(X*10 + 0.5)/10
X=Int(X*10) + 0.5/10
X=Int(X*100) + 0.5/100

Answer explanation

因為這和VB的運算方式有關,所以不能選1來處理

2.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

Visaul basic.NET 程式執行結果為何?

0
12
60
不能做

3.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

Visaul basic.NET 程式, 其執行結果為何?

36
38
40
42

4.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

在 Visaul basic.NET 語言中, 使用函數指令 Right(A,N) 與下列何者功能相 同?

Mid(A, Len(A) - N+1, N)
Mid(A, 1, N)
Mid(A, N, 1)
Mid(A, N 1, N)

Answer explanation

right傳回從字串右方包含指定字元數的字串,以下是範例 Dim AnyString, MyStr AnyString = "Hello World" ' Define string. MyStr = Right(AnyString, 1) ' Returns "d". MyStr = Right(AnyString, 6) ' Returns"World". MyStr = Right(AnyString, 20) ' Returns "Hello World".

5.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

在 Visaul basic.NET 語言中, 若 K=Int(90 * Rnd( ))+10 , 則 K 之範圍為何?

1 ≦ K ≦ 90
10 ≦ K ≦ 90
10 ≦ K ≦ 99
1 ≦ K ≦ 100

Answer explanation

Rnd會傳回包含隨機亂數的 SingleRnd 函數會傳回小於 1 但大於或等於零的值

6.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

Visaul basic.NET 程式, 其執 行結果為何?

39
53
56
1439

7.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

Visaul basic.NET 程式, 其執行結果為何?

2.6
52.6
52
53

Answer explanation

Int和Fix都會移除number的小數部分,並傳回產生的整數值 Int和Fix之間的差異在於,如果number為負數,Int會傳回小於或等於 number 的第一個負整數,而Fix則會傳回大於或等於 number 的第一個負整數 例如, Int 會將 -8.4 轉換為 -9,而 Fix 會將 -8.4 轉換為 -8 Dim MyNumber MyNumber = Int(99.8) ' Returns 99. MyNumber = Fix(99.2) ' Returns 99. MyNumber = Int(-99.8) ' Returns -100. MyNumber = Fix(-99.8) ' Returns -99. MyNumber = Int(-99.2) ' Returns -100. MyNumber = Fix(-99.2) ' Returns -99.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?