Prepare well for your Test!

Descrição

Higher diploma Information Technology Quiz sobre Prepare well for your Test!, criado por itso Lucypay em 09-10-2017.
itso Lucypay
Quiz por itso Lucypay, atualizado more than 1 year ago
itso Lucypay
Criado por itso Lucypay mais de 6 anos atrás
938
1

Resumo de Recurso

Questão 1

Questão
What is value of "z" assigned when this executed completely ?
Responda
  • 16
  • 32
  • 48
  • " "

Questão 2

Questão
Choose all appropriate Variable names
Responda
  • Yamato
  • Kancolle
  • ifend
  • Then
  • Num_A
  • 巴麻美 ξ( ✿>◡❛)▄︻▇▇〓 ティロ・フィナーレ!
  • 我係一個變數
  • x
  • Variables

Questão 3

Questão
Are you ready for your test?
Responda
  • True
  • False

Questão 4

Questão
Choose all inappropriate Variable Names
Responda
  • integer
  • //( ◕‿‿◕ )\
  • EndSub
  • Then
  • Name
  • Total

Questão 5

Questão
What is (A) ?
Responda
  • As
  • Is
  • Be
  • " "

Questão 6

Questão
Which event able to load the form automatically when the program executed?
Responda
  • Form.load
  • MyBase.load
  • load張form唔該
  • Pleaseload.form

Questão 7

Questão
Which VB code contain identical meaning with following equation

Questão 8

Questão
What value is stored in Y when the code executed?
Responda
  • 6
  • 12
  • 46656
  • compile error

Questão 9

Questão
We can Declare a Character type Variable, Named as Thisisquestion, by Following Code
Responda
  • True
  • False

Questão 10

Questão
Select all the data type, with valid variable type name, acceptable for VB
Responda
  • int
  • integer
  • married
  • float
  • double
  • bool
  • boolean
  • String
  • 字串
  • single

Questão 11

Questão
What is output of following code?

Questão 12

Questão
select all suitable syntax of comment in VB
Responda
  • '( ˘•ω•˘ )◞⁽˙³˙⁾
  • 'この僕を、ここまで追い詰めるとはね。まあ、いいさ。
  • //呢個係答案
  • "This is not a comment syntax
  • This is a comment
  • /*揀呢個*/
  • 'This is a comment syntax'

Questão 13

Questão
Select all inappropriate syntax for VB

Questão 14

Questão
What is output of following code?

Questão 15

Questão
Select all event handler for VB
Responda
  • load
  • click
  • textchanged
  • hit
  • 同我揪左佢

Questão 16

Questão
Maxlength is one of property of textbox limitation of input string length
Responda
  • True
  • False

Questão 17

Questão
All inputed number from textbox is integer
Responda
  • True
  • False

Questão 18

Questão
Which code can add new string to listBox , Named ListBox.
Responda
  • ListBox.add(String)
  • ListBox.items.add(String)
  • ListBox.item.add(String)
  • 清單。物件。導入(現已發售)

Questão 19

Questão
Which value is assigned in Variable x when program executive before line 9
Responda
  • 36
  • 54
  • 15
  • 30

Questão 20

Questão
What is value stored in x ?
Responda
  • 54
  • 36
  • 15
  • 30
  • compile error

Questão 21

Questão
What is correct syntax structure of Function?
Responda
  • Function Name (Byxxx Variable As DataType, .... ) As Data Type
  • Datatype Name(Parameters) As Data Type
  • Datatype Name(Parameters)
  • Function Name (Byxxx Variable As DataType, .... )

Questão 22

Questão
Select all appropriate syntax of function
Responda
  • Function CalTotal( price, quantity) As Double
  • Function ChrckGrade(ByVal Mark As Double, ByRef SubjectCode As Integer) As Character
  • int GetPrice( Sting Product)
  • int GetPrice( Sting Product) As Double
  • Function GetName(ByVal ID As Integer) As String
  • Function A(ByVal B As single,ByRef C As long) As String
  • Sub GotoSchool (ByBus Yes As String, ByMTR No As Integer)

Questão 23

Questão
What is correct syntax of Sub-Procedures?
Responda
  • Sub Name(Parameter)
  • Sub Name(Parameter) As DataType
  • Sub Name(Parameter) Is DataType
  • DateType Name(Parameter)

Questão 24

Questão
Select all inappropriate syntax of Sub-Procedures
Responda
  • Sub Total()
  • Function sub()
  • sub Total(ByVal Quantity As Double, ByVal Price As Double) As String
  • sub Total(ByVal Quantity As Double, ByBus Price As Double)
  • sub CheckValid() Is Boolean
  • Sub(Total, byval x As String)
  • Sub Total(ByRef Valid As Boolean, ByVal Name As String)

Questão 25

Questão
Dim [blank_start]x As Integer[blank_end] if x > 6 [blank_start]then[blank_end] x = int(5.17 +7.14) else [blank_start]if[blank_end] x < 5 x = 9 [blank_start]End if[blank_end]
Responda
  • x As Integer
  • then
  • if
  • End if

Questão 26

Questão
Name All the Controls
Responda
  • Label
  • InputBox
  • TextBox
  • CheckBox
  • Buttons
  • ListBox
  • Form
  • MyBase
  • Me

Questão 27

Questão
Dim Price,Quantity As Double Price = 3.5 Quantity = 4 Dim total As Double = [blank_start]CalTotal(Price, Quantity)[blank_end] 'Calculate the total by Price * Quantity ListBox.items.[blank_start]add[blank_end](total) [blank_start]Function[blank_end] CalTotal([blank_start]ByVal[blank_end] Price [blank_start]As Double[blank_end], [blank_start]ByVal[blank_end] Quantity [blank_start]As Double[blank_end]) [blank_start]As Double[blank_end] Return [blank_start]Price * Quantity[blank_end] [blank_start]End Function[blank_end]
Responda
  • CalTotal(Price, Quantity)
  • add
  • Function
  • As Double
  • ByVal
  • As Double
  • ByVal
  • As Double
  • Price * Quantity
  • End Function

Questão 28

Questão
Two numeric strings ("11","22",etc...) can calculate directly without any conversion function(Cint(),CDbl(),...etc) applied .
Responda
  • True
  • False

Questão 29

Questão
What is output of this code?

Questão 30

Questão
Which is global (class-level) Variable?
Responda
  • local
  • classlevel
  • both
  • none of them

Questão 31

Questão
Select all local variable(s).
Responda
  • classlevel
  • pass
  • local
  • none of them
  • all of them

Questão 32

Questão
What is the output of following code?
Responda

Questão 33

Questão
What Value Stored,For Variable "result", when the program executed line 7?
Responda
  • "-1NoNo"
  • "437"
  • "-148"
  • Compile error

Questão 34

Questão
Complete the following Blanks with the expected result: Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim x As [blank_start]Integer[blank_end] = 35 Dim y As Integer = 53 [blank_start]SetLabel(x, y)[blank_end] Dim [blank_start]total[blank_end] As Integer = [blank_start]Sum(x, y)[blank_end] TextBox1.Text = total End Sub Function Sum[blank_start](ByVal x As Integer, ByVal y As Integer)[blank_end] Return x + y [blank_start]End Function[blank_end] Sub SetLabel(ByVal x As Integer, ByVal y As Integer) Label2.Text = [blank_start]x & " + " & y & " = "[blank_end] [blank_start]End Sub[blank_end] End Class
Responda
  • Integer
  • SetLabel(x, y)
  • Label.text(x,y)
  • ClassSub(SetLabel,x,y)
  • String
  • Long
  • total
  • Sum
  • End Function
  • End
  • End Sub
  • End Functions
  • End Subs
  • x & " + " & y & " = "
  • x + y =
  • " x + y ="
  • (ByVal x As Integer, ByVal y As Integer)
  • (ByVal Integer As x, ByVal Integer As y)
  • (int x, int y) As Integer
  • Sum(x, y)
  • Call.function(sum,x,y,integer)
  • 我要呢個function(加埋,傳x及y) 唔該

Questão 35

Questão
IndexOf() able to return length of string
Responda
  • True
  • False

Questão 36

Questão
length() return integer about the number of characters in the target string
Responda
  • True
  • False

Questão 37

Questão
trim() able to cut out all spaces, no matter the offset of that spaces in that string
Responda
  • True
  • False

Questão 38

Questão
We can use "-" operator to append two strings together
Responda
  • True
  • False

Questão 39

Questão
Return type of Function Math.sqrt() is Double
Responda
  • True
  • False

Questão 40

Questão
All conditional statement in if block is logical expression
Responda
  • True
  • False

Questão 41

Questão
What is the return boolean value of following logical expression: Assume A = Ture, B = False Not((A And B) Or ( B or B))
Responda
  • True
  • False

Questão 42

Questão
What is Boolean value of following logical expression: Assume A is True (Not A Or A) And Not (A or Not A)
Responda
  • True
  • False

Questão 43

Questão
What is output of following code?

Questão 44

Questão
Select all typical programming errors
Responda
  • logical error
  • syntax error
  • runtime error
  • Benson is the error
  • Spelling error
  • 都Q知自己錯乜
  • Nothing error
  • compile error

Questão 45

Questão
syntax error regards there are some inappropriate flow of execution of code
Responda
  • True
  • False

Questão 46

Questão
logical error not affect the execution of program when compiling the code
Responda
  • True
  • False

Questão 47

Questão
the programme suddenly stopped when runtime error occurred.
Responda
  • True
  • False

Questão 48

Questão
In Flowchart diagram, rectangle is used to represent process of the program design
Responda
  • True
  • False

Questão 49

Questão
In Flowchart diagram, Oval is used to represent start or end of the program design
Responda
  • True
  • False

Questão 50

Questão
Name all diagram with the flowchart
Responda
  • Start
  • circle
  • Start
  • End
  • Process
  • Nothing
  • Termial
  • Process
  • Decision
  • Input
  • Output
  • Decision
  • The diagram is so 唔識串
  • input
  • output
  • looping

Semelhante

CCNA Security 210-260 IINS - Exam 3
Mike M
Application of technology in learning
Jeff Wall
Innovative Uses of Technology
John Marttila
Ch1 - The nature of IT Projects
mauricio5509
The Internet
Gee_0599
SQL Quiz
R M
CCNA Answers – CCNA Exam
Abdul Demir
Professional, Legal, and Ethical Issues in Information Security
mfundo.falteni
System Analysis
R A
Flash Cards Networks
JJ Pro Wrestler
EDUC260- Multimodal Literacies for a Digital Age
angelwoo2002