Tag: programming languages

Questions Related to programming languages

  1. Set dbMyDB = OpenDatabase

  2. Set dbMyDB = OpenDatabase("MyDatabase.mdb")

  3. dbMyDB = OpenDatabase("MyDatabase.mdb")

  4. None of these


Correct Option: B
  1. The Class window

  2. The Project window

  3. The Properties window

  4. The Blank Form window


Correct Option: A
  1. The object module

  2. The class module

  3. The form module

  4. The global module


Correct Option: A
  1. file

  2. Record

  3. table

  4. RecordSet


Correct Option: D
Explanation:

To solve this question, the user needs to have a basic understanding of Visual Basic programming language and database management.

The correct answer is D.

Explanation:

Visual Basic uses an object called RecordSet to hold your table. Recordset is an object that represents a set of records in a database table or a query result set, and it is used to manipulate data in a database. The Recordset object provides methods and properties to access and manipulate data in a database table or a query result set.

Option A is incorrect because a file is a container for storing data and programs that can be accessed by a computer.

Option B is incorrect because a record is a collection of related data fields or items that are treated as a single unit.

Option C is incorrect because a table is a collection of related data organized in rows and columns, but it is not an object that holds the table in Visual Basic.

Therefore, the correct answer is D.

The Answer is: D.

  1. -128 to 127

  2. (-2 power 8 )-1 to 2 power 8

  3. -255 to 256

  4. depends on the particular implementation of the Java Virtual machine


Correct Option: A
  1. System.out.println(Math.floor(-4.7));

  2. System.out.println(Math.round(-4.7));

  3. System.out.println(Math.ceil(-4.7));

  4. System.out.println(Math.min(-4.7));


Correct Option: C
  1. float f=2.3;

  2. char c="z";

  3. boolean b=null;

  4. int i=21;

  5. byte b=257;


Correct Option: D