Visual Basic

Beschreibung

Examen de Visual Basic
rafgss
Quiz von rafgss, aktualisiert more than 1 year ago
rafgss
Erstellt von rafgss vor fast 8 Jahre
14
0

Zusammenfassung der Ressource

Frage 1

Frage
¿Esto es una CheckBox?
Antworten
  • True
  • False

Frage 2

Frage
Seleccione la(s) correctas de ingresar el código de limpiar dentro de un botón:
Antworten
  • txt.text=" "
  • txt.Clear()
  • txt.Clear
  • txt.text=

Frage 3

Frage
Completa el código; [blank_start]Dim[blank_end] n1, n2, n3, n4, v, p [blank_start]As[blank_end] Double n1 = TextBox1.Text n2 = [blank_start]TextBox2[blank_end].Text n3 = TextBox3.Text n4 = TextBox4.Text v = n1 [blank_start]If[blank_end] n2 < v Then v = n2 End If If [blank_start]n3[blank_end] < v Then v = n3 End If If n4 < v [blank_start]Then[blank_end] v = n4 [blank_start]End[blank_end] If p = (n1 + n2 + n3 + n4 - [blank_start]v[blank_end]) / 3 [blank_start]TextBox5.Text = p[blank_end]
Antworten
  • As
  • TextBox2
  • TextBox5.Text = p
  • v
  • If
  • Then
  • End
  • n3
  • Dim

Frage 4

Frage
¿Este código es para colocar mensajes en el programa? MessageBox.Show()
Antworten
  • True
  • False

Frage 5

Frage
Complete; Dim n1, n2 As [blank_start]Double[blank_end]n1 = [blank_start]TextBox1[blank_end].Text n2 = TextBox2.Text If n1 > n2 Then MessageBox.Show("El número mayor es "& [blank_start]n1[blank_end]) Else [blank_start]MessageBox[blank_end].Show("El número mayor es "& n2) End If
Antworten
  • MessageBox
  • n1
  • TextBox1
  • Double

Frage 6

Frage
Seleccione la respuesta correcta; Dim C As [blank_start]Integer[blank_end]
Antworten
  • Integer
  • Double

Frage 7

Frage
¿Es un Progress Bar?
Antworten
  • True
  • False

Frage 8

Frage
Dim x, y, z, r As [blank_start]Double[blank_end] x = [blank_start]TexBox1.Text[blank_end] [blank_start]y[blank_end] = TexBox2.Text z = TexBox3.Text r = ((2 * [blank_start]Math.[blank_end]Pow(x, 4)) + [blank_start]3 *[blank_end] Math.Pow(x, 2) * [blank_start]Math.Pow[blank_end](y, 2)) / (y+(Math.[blank_start]Sqrt[blank_end](4 * x * y * Math.Pow[blank_start](z, 2)[blank_end])) - 2 * z) TexBox4.Text = [blank_start]r[blank_end]
Antworten
  • TexBox1.Text
  • y
  • Math.
  • 3 *
  • Math.Pow
  • Sqrt
  • (z, 2)
  • r
  • Double

Frage 9

Frage
El siguiente código sirve para resolver ecuaciones de 3 variables? Dim x, y, z, r As Double x = TexBox1.Text y = TexBox2.Text z = TexBox3.Text r = ((2 * Math.Pow(x, 4)) + 3 * Math.Pow(x, 2) * Math.Pow(y, 2)) / (y+(Math.Sqrt(4 * x * y * Math.Pow(z, 2))) - 2 * z) TexBox4.Text = r
Antworten
  • True
  • False

Frage 10

Frage
Complete; [blank_start]If[blank_end] Me.BackColor = Color.[blank_start]Blue[blank_end] Then Me.BackColor = Color.Red ElseIf Me.[blank_start]Back[blank_end]Color = [blank_start]Color[blank_end].Red Then [blank_start]Me.BackColor[blank_end] = Color.Blue
Antworten
  • Color
  • Blue
  • Me.BackColor
  • If
  • Back

Frage 11

Frage
El siguiente fragmento de código sirve para cambiar de color el formulario; If Me.BackColor = Color.Blue Then Me.BackColor = Color.Red ElseIf Me.BackColor = Color.Red Then Me.BackColor = Color.Blue
Antworten
  • True
  • False

Frage 12

Frage
¿El siguiente código sirve para calcular promedios y eliminar la nota menor? Dim n1, n2, n3, n4, v, p As Double n1 = TextBox1.Text n2 = TextBox2.Text n3 = TextBox3.Text n4 = TextBox4.Text v = n1 If n2 < v Then v = n2 End If If n3 < v Then v = n3 End If If n4 < v Then v = n4 End If p = (n1 + n2 + n3 + n4 - v) / 3 TextBox5.Text = p
Antworten
  • True
  • False

Frage 13

Frage
[blank_start]Dim[blank_end] n1, n2, n3, n4, v, p As [blank_start]Double[blank_end] n1 = [blank_start]Text[blank_end]Box1.Text [blank_start]n2[blank_end] = TextBox2.Text n3 = TextBox3.Text [blank_start]n4[blank_end] = [blank_start]TextBox4[blank_end].Text v = n1 [blank_start]If[blank_end] n2 < v [blank_start]Then[blank_end] v = n2 End If If n3 < v Then v = n3 [blank_start]End[blank_end] If If n4 < v Then v = n4 End If p = (n1 + n2 + n3 + n4 - v) / 3 [blank_start]TextBox5.Text = p[blank_end]
Antworten
  • If
  • End
  • TextBox5.Text = p
  • TextBox4
  • n4
  • Double
  • Text
  • Then
  • n2
  • Dim

Frage 14

Frage
¿Está bien estructurado este código? Dim n1, n2 As Doublen1 = TextBox1.Text n2 = TextBox2.Text If n1 > n2 Then MessageBox.Show("El número mayor es "& n1) Else MessageBox.Show("El número mayor es "& n2) End If
Antworten
  • True
  • False

Frage 15

Frage
[blank_start]Dim[blank_end] C As [blank_start]Intinger[blank_end]C = 0 If [blank_start]CheckBox1[blank_end].Checked Then C = C + 1 If CheckBox2.[blank_start]Checked[blank_end] Then [blank_start]C = C + 1[blank_end] End If If CheckBox3.Checked [blank_start]Then[blank_end] C = C + 1 End If MessageBox.Show("Han sido seleccionados " + Strc(C) + [blank_start]" checkbox"[blank_end]) [blank_start]End If[blank_end]
Antworten
  • Dim
  • CheckBox1
  • Intinger
  • Checked
  • C = C + 1
  • Then
  • " checkbox"
  • End If

Frage 16

Frage
¿El siguiente código esta bien estructurado? Dim C As Intinger C = 0 If CheckBox1.Checked C = C + 1 CheckBox2.Checked Then C = C + 1 End If If CheckBox3.Checked Then C = C + 1 MessageBox.Show("Han sido seleccionados " + Strc(C) + " checkbox") End If
Antworten
  • True
  • False

Frage 17

Frage
Dim C As IntingerC = 0 If Check[blank_start]Box1[blank_end].Checked Then C = C + 1 If Check[blank_start]Box2[blank_end].Checked Then C = C + 1 End If If CheckBox3.[blank_start]Checked[blank_end] Then C = C + 1 End If [blank_start]MessageBox[blank_end].Show("Han sido seleccionados " + Strc(C) + " checkbox") End If
Antworten
  • Box1
  • Box2
  • Box3
  • Box2
  • Box1
  • Box3
  • Checked
  • Selec
  • MessageBox
  • Form2
  • Form3

Frage 18

Frage
¿Qué opciones podemos ver en el siguiente Form?
Antworten
  • Label
  • TextBox
  • Button
  • Progress Bar
  • Check Box
  • Combo Box

Frage 19

Frage
Complete CheckBox1.
Antworten
  • Show
  • Checked
  • Text

Frage 20

Frage
¿Cómo se llama ésta parte de Visual Basic?
Antworten
  • ToolBox
  • Form
  • Orígenes de datos
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Operadores Python
Giovanni Sanhuez
EXAMEN DE MATEMÁTICAS 1ER GRADO SECUNDARIA 5to Bim
FELIPE SOLTERO
Mis Recursos de Programación
maya velasquez
FUNDAMENTOS DE REDES DE COMPUTADORAS
anhita
Editor Dibujo Paint
gladiscj
Herramientas de Software para Comercio y Finanzas
mishelleisabel
Lenguajes de programación
Andrea Martz
Programación
lourdes toralla
PROGRAMACIÓN ORIENTADA A OBJETOS - TERCER CORTE
Jose Anacona Pira
Exani II - Estructura
Gastón Amato
prueba 1
ANGELA HIDALGO