Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Data Type

Total questions: 20

Worksheet time: 7mins

Name
Class
Date
1.

Which attribute specifies the type of data that an object can hold and specifies how many bytes it will take up?

a)

specifier

b)

data type

c)

validator

d)

data specific

2.

What common data type you would be used to count

a)

money

b)

integer

c)

float

d)

double

3.

What common data type is used to store decimal numbers such as 3.14 and 7.07?

a)

money

b)

integer

c)

float

d)

char

4.

Which data type should you use to store text based on English?

a)

text

b)

int

c)

float

d)

varchar

5.

How many bytes does the int data type take up?

a)

1 byte

b)

4 byte

c)

8 byte

d)

16 byte

6.

How many bytes does the money data type take up?

a)

1 byte

b)

4 byte

c)

8 byte

d)

16 byte

7.

What type of conversion occurs without specifying the actual callout function?

a)

implicit

b)

explicit

c)

casting

d)

autocasting

8.

How many bytes does a single character take up if it is a varchar that supports English and most European languages?

a)

1 byte

b)

2 byte

c)

4 byte

d)

8 byte

9.

What kind of character takes up two bytes of storage and can include almost any language including Chinese, Japanese, and Arabic?

a)

standard

b)

ANSI

c)

Unicode

d)

Duocode

10.

What data type should you use to support Japanese or Arabic text?

a)

nvarchar

b)

varchar

c)

Unicode

d)

varchar

11.

Which naming conversion would capitalize the first character of each word with no spaces?

a)

PascalCase

b)

camelCase

c)

CapCase

d)

FirstCase

12.

What is a virtual table consisting of different columns from one or more tables?

a)

index

b)

view

c)

vtable

d)

vlookup

13.

What are previously written SQL statements that have been stored within a database?

a)

data statements

b)

views

c)

DDL statements

d)

stored procedures

14.

What command is used to execute a stored procedure?

a)

go

b)

use

c)

start

d)

exec

15.

What is a type of attack in which malicious code is inserted into strings that are passed to the SQL server instance?

a)

SQL infection

b)

SQL takeover

c)

SQL injection

d)

SQL force

16.

What is the set of rules that determine how data is sorted and compared?

a)

sort rule

b)

filter

c)

constraint

d)

collation

17.

What type of data type would you use to store true/false or yes/no answers?

a)

int

b)

char

c)

boolean

d)

logic

18.

A char string can be up to _______ characters long.

a)

5000

b)

8000

c)

10000

d)

2500

19.

What does VARCHAR(25) represent?

a)

A character string up to 25 characters long

b)

A character string up to 50 characters long

c)

A character string up to 75 characters long

d)

A character string up to 125 characters long

20.

What two commands will perform implicit conversion?

a)

Cast and Convert.

b)

Cash and Convert.

c)

Cast and Concern.

d)

Cash and Comfort.