Blanqui Castillo
Quiz by , created more than 1 year ago

Primer año Sistemas Informáticos M

81
0
0
Blanqui Castillo
Created by Blanqui Castillo almost 8 years ago
Close

Primer año Sistemas Informáticos Tarde

Question 1 of 10

1

Sintaxis correcta en SQL Server para mostrar todos los datos desde una tabla llamada estudiante

Select one of the following:

  • select * from estudiante

  • select from estudiante

  • select estudiante

  • select all estudiante

Explanation

Question 2 of 10

1

Sintaxis correcta para insertar datos en SQL

Select one of the following:

  • insert into estudiante (dato1, dato2..) values (valor1, valor2)

  • insert into estudiante (dato1, dato2..)

  • insert * from estudiante (dato1, dato2..) values (valor1, valor2)

  • insert estudiante (dato1, dato2..) values (valor1, valor2)

Explanation

Question 3 of 10

1

Sintaxis correcta para actualizar una tabla llamada estudiante en SQL Server

Select one of the following:

  • update estudiante set campos where condicion

  • update * from estudiante set campos where condicion

  • update estudiante

  • update estudiante campos where condicion

Explanation

Question 4 of 10

1

Sintaxis correcta para borrar un registro de una tabla llamada estudiante

Select one of the following:

  • delete from estudiante where condicion

  • delete * from estudiante where condicion

  • delete from estudiante

  • delete estudiante

Explanation

Question 5 of 10

1

Sintaxis correcta para declarar la cadena de conexion

Select one of the following:

  • Data Source=Servidor ;Initial Catalog=Base de Datos ;Integrated Security=True

  • Data Source=Base de Datos ;Initial Catalog= Servidor ;Integrated Security=True

  • Data Source=Servidor ;Initial Catalog=True ;Integrated Security=Base de Datos

  • Data Source=True ;Initial Catalog=Base de Datos ;Integrated Security=Servidor

Explanation

Question 6 of 10

1

Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
Dim dgv As DataGridViewRow = DataGridView1.Rows(e.RowIndex)
TextBox1.Text = dgv.Cells(0).Value.ToString
TextBox2.Text = dgv.Cells(1).Value.ToString
DateTimePicker1.Text = dgv.Cells(2).Value.ToString
TextBox3.Text = dgv.Cells(3).Value.ToString
End Sub

Select one of the following:

  • El código anterior sirve para rellenar un data grid

  • El código anterior sirve para rellenar todos los campos desde un data grid

  • El código anterior sirve para vaciar un data grid

  • El código anterior sirve para vaciar todos los campos desde un data grid

Explanation

Question 7 of 10

1

Tipo de Dato para valores enteros

Select one of the following:

  • Int

  • Double

  • String

  • Date

Explanation

Question 8 of 10

1

Tipo de dato que solo admite los valores True o False

Select one of the following:

  • Boolen

  • Byte

  • Single

  • Currency

Explanation

Question 9 of 10

1

Para insertar comentarios en visual basic utilizamos

Select one of the following:

  • comillas simples

  • comillas dobles

  • parentesis

  • plecas

Explanation

Question 10 of 10

1

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim mensaje As String
mensaje = "Hola Mundo"
MsgBox(mensaje)
End Sub

Select one of the following:

  • En el codigo anterior estamos mandando un mensaje al cargar el formulario

  • En el codigo anterior estamos mandando un mensaje al presionar un boton

  • En el codigo anterior estamos mandando un mensaje al escribir en un textbox

  • En el codigo anterior estamos mandando un mensaje aleatorio

Explanation