Deck 3: Table Creation and Management
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/136
العب
ملء الشاشة (f)
Deck 3: Table Creation and Management
1
The precision of a NUMBER does not include the decimal point itself in the total number of digits that can be stored in a column.
True
2
If the CREATE TABLE is being used to create a table from existing data,the SUBQUERY keyword must be used.
False
3
The scale of a NUMBER column indicates the number of digits that can be displayed to the right of the decimal point.
True
4
A database must be shut down before the ALTER TABLE command can be executed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
5
The MODIFY TABLE command can be used to change the size of a table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
6
A table name can consist of numbers,letters,and blank spaces.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
7
A column name can consist of up to 225 characters.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
8
An automatic column will generate a value at runtime and may reference values from other columns.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
9
The CREATE TABLE cannot contain a subquery.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
10
The default format of a DATE column in Oracle 12c is DD-MON-YY.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
11
Every table name within a specific schema must be unique.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
12
The maximum width of a VARCHAR2 column is 2000 characters.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
13
The ALPHANUMERIC datatype can be used to store characters and numbers to a maximum width of 2000.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
14
The default size of a VARCHAR2 column is one character.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
15
The INTERVAL datatype can be used to identify a specific interval,or amount,of time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
16
A database object is a defined,self-contained structure in Oracle 12c.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
17
The structure of a table can be viewed by issuing the STRUCTURE command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
18
A table name can be up to 30 characters in length.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
19
A datatype identifies the type of data to be stored in a column.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
20
DML commands are used to create or modify database tables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
21
When a column is deleted,the deletion is permanent.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
22
You cannot delete the last column in a table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
23
The scale of a NUMBER column indicates the total number of digits that can be stored in the column._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
24
You cannot specify the width for a(n)NUMBER column._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
25
DDL commands are used to create or modify database objects._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
26
A CHAR column cannot be resized to a width that is smaller than the data it already contains.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
27
Using the DESC on a table will display hidden columns.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
28
The DELETE TABLE command can be used to remove a table from a database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
29
SELECT9 is a valid table name._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
30
The USER_TAB_COLS data dictionary object contains a column to identify hidden columns.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
31
The RENAME command can be used to assign a table to a new schema.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
32
Data manipulation language commands are used to create or modify database tables._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
33
A table name must begin with a(n)number._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
34
To retain the structure of a table,while deleting all its data and releasing their storage space,execute the TRUNC command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
35
The maximum width of a(n)CHAR column is 4000 characters._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
36
The DROP TABLE command can be used to remove a table and all its data from a database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
37
A table that has been dropped without the PURGE option can be retrieved using the FLASHBACK TABLE command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
38
The ALTER TABLE name can be used to rename a table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
39
Only one column can be added to an existing table at one time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
40
The CHAR datatype is used to store variable-length data that can consist of letters and numbers._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
41
The maximum width of a NUMBER column is 25 digits._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
42
Which of the following is a valid table name?
A) MYTABLE
B) DISTINCT
C) SELECT
D) CHAR
A) MYTABLE
B) DISTINCT
C) SELECT
D) CHAR
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
43
The MODIFY clause can be included in the ALTER TABLE command to add a default value to an existing column._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
44
Which of the following terms refers to commands that are used to create or modify database tables?
A) data manipulation language (DML)
B) data control language (DCL)
C) data definition language (DDL)
D) data formatting language (DFL)
A) data manipulation language (DML)
B) data control language (DCL)
C) data definition language (DDL)
D) data formatting language (DFL)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
45
Once a column as been set as UNUSED,it cannot be recovered._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
46
The DROP COLUMN clause of the ALTER TABLE command can only be used to delete one column at a time._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
47
The width of a NUMBER column cannot be changed once it contains data._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
48
The data contained in a dropped table can be retrieved if the DROP option was not used in the DROP TABLE command._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
49
The CHANGE TABLE command can be used to modify an existing table._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
50
The default size of the CHAR column is 2._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
51
The MODIFY clause can be used with the ALTER TABLE command to add a column to an existing table._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
52
The TRUNCATE TABLE command can be used to delete a table from a database._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
53
The DELETE TABLE command can be used to delete all the data stored in a table and release the storage space,yet retain the structure of the table._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
54
A table must contain a minimum of two columns._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
55
The abbreviation for the DESCRIBE command is DES._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
56
The syntax of the CREATE TABLE command requires that the column list be enclosed in parentheses._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
57
Seven bytes are allocated in a DATE column to store the century,year,month,day,hour,minute,and second of a date._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
58
Which keywords are used to complete the deletion of a column previously marked with SET UNUSED?
A) DELETE UNUSED COLUMNS
B) DROP UNUSED COLUMNS
C) UNSET UNUSED COLUMNS
D) DROP SET COLUMNS
A) DELETE UNUSED COLUMNS
B) DROP UNUSED COLUMNS
C) UNSET UNUSED COLUMNS
D) DROP SET COLUMNS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
59
The CREATE TABLE command is used to create a table in Oracle 12c._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
60
More than one column can be changed at a time with the ALTER TABLE...MODIFY command._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
61
Which command instructs Oracle 12c to create a new table from existing data?
A) CREATE NEW TABLE
B) CREATE TABLE...FROM
C) CREATE TABLE
D) CREATE TABLE...AS
A) CREATE NEW TABLE
B) CREATE TABLE...FROM
C) CREATE TABLE
D) CREATE TABLE...AS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
62
Which of the following datatypes refers to fixed-length character data,where n represents the maximum length of the column?
A) CHAR(n)
B) VARCHAR(n)
C) VARCHAR2(n)
D) LONG
A) CHAR(n)
B) VARCHAR(n)
C) VARCHAR2(n)
D) LONG
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
63
The column definition of NUMBER(7,4)indicates a precision of ____.
A) 7
B) 4
C) 11
D) 3
A) 7
B) 4
C) 11
D) 3
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
64
In which format does Oracle 12c display a date value?
A) DD-MON-YEAR
B) DAY-MM-YY
C) DD-MM-YY
D) DD-MON-YY
A) DD-MON-YEAR
B) DAY-MM-YY
C) DD-MM-YY
D) DD-MON-YY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
65
The maximum width of the NUMBER datatype is ____ digits.
A) 7
B) 30
C) 38
D) 255
A) 7
B) 30
C) 38
D) 255
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
66
When defining columns for a table in the CREATE TABLE command,the column list must be enclosed in which of the following symbols?
A) " "
B) ' '
C) ( )
D) | |
A) " "
B) ' '
C) ( )
D) | |
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
67
Which of the following symbols can be used in a column name?
A) %
B) *
C) #
D) '
A) %
B) *
C) #
D) '
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
68
Which of the following is a valid SQL statement?
A) CREATE TABLE newname (colA NUMBER,colB DATE);
B) CREATE TABLE newname as SELECT * FROM books;
C) CREATE TABLE newname (colA,colB);
D) CREATE TABLE newname (colA DATE,colB VARCHAR2(3);
A) CREATE TABLE newname (colA NUMBER,colB DATE);
B) CREATE TABLE newname as SELECT * FROM books;
C) CREATE TABLE newname (colA,colB);
D) CREATE TABLE newname (colA DATE,colB VARCHAR2(3);
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
69
Which of the following is a valid table name in Oracle 12c?
A) jimm8 Y%c _5_H76ang
B) S_c#oT#2t_321sM#_i_T6h
C) 2LaN_n23_es#M#m
D) mAU$reE78_&_n1
A) jimm8 Y%c _5_H76ang
B) S_c#oT#2t_321sM#_i_T6h
C) 2LaN_n23_es#M#m
D) mAU$reE78_&_n1
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
70
Which of the following symbols cannot be used in a table name?
A) _
B) %
C) #
D) none of the above
A) _
B) %
C) #
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
71
Which of the following rules apply to table names in Oracle 12c?
A) Names can contain blank spaces.
B) Names can be up to 225 characters in length.
C) Names can begin with a number.
D) Names can contain a number sign (#).
A) Names can contain blank spaces.
B) Names can be up to 225 characters in length.
C) Names can begin with a number.
D) Names can contain a number sign (#).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
72
Which of the following is a valid column name?
A) VARCHAR2
B) DISTINCT
C) NEW_COLUMN
D) CHAR
A) VARCHAR2
B) DISTINCT
C) NEW_COLUMN
D) CHAR
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
73
What is the maximum width that can be assigned to a DATE column?
A) 1
B) 8
C) 12
D) none of the above
A) 1
B) 8
C) 12
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
74
A(n)____ simply identifies the type of data that Oracle 12c will be expected to store in a column.
A) data definition
B) data format
C) datatype
D) data record
A) data definition
B) data format
C) datatype
D) data record
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
75
When defining columns for a table,which of the following symbols is used to separate the column names in the column list?
A) " "
B) ,
C) ( )
D) | |
A) " "
B) ,
C) ( )
D) | |
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
76
When creating a table,which of the following statements is correct?
A) The schema of the table must be explicitly stated.
B) A user can have two tables with the same name,as long as the column names are different.
C) The column list must be enclosed in parentheses ( ).
D) Default values cannot be assigned to all columns in a table.
A) The schema of the table must be explicitly stated.
B) A user can have two tables with the same name,as long as the column names are different.
C) The column list must be enclosed in parentheses ( ).
D) Default values cannot be assigned to all columns in a table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
77
If a column is defined as NUMBER(5,2),which of the following is true?
A) The column can store a total of 7 digits,with 5 on the left side of the decimal point,and 2 on the right.
B) The column can store a total of 7 digits,all of them on the right side of the decimal point.
C) The column can store a total of 5 digits,with 3 on the left side of the decimal point,and 2 on the right.
D) The column can store a total of 5 digits,all of them on the left side of the decimal point.
A) The column can store a total of 7 digits,with 5 on the left side of the decimal point,and 2 on the right.
B) The column can store a total of 7 digits,all of them on the right side of the decimal point.
C) The column can store a total of 5 digits,with 3 on the left side of the decimal point,and 2 on the right.
D) The column can store a total of 5 digits,all of them on the left side of the decimal point.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
78
Which of the following datatypes refers to variable-length character data,where n represents the maximum length of the column?
A) CHAR(n)
B) BFILE
C) VARCHAR2(n)
D) LONG
A) CHAR(n)
B) BFILE
C) VARCHAR2(n)
D) LONG
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
79
Which command instructs Oracle 12c to create a new table?
A) CREATE NEW TABLE
B) CREATE TABLE...FROM
C) CREATE TABLE
D) ALTER TABLE
A) CREATE NEW TABLE
B) CREATE TABLE...FROM
C) CREATE TABLE
D) ALTER TABLE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck
80
Which of the following rules does not apply to column names in Oracle 12c?
A) Column names can contain numbers.
B) Column names can be up to 30 characters in length.
C) Column names must begin with a letter.
D) Column names can contain an ampersand (&).
A) Column names can contain numbers.
B) Column names can be up to 30 characters in length.
C) Column names must begin with a letter.
D) Column names can contain an ampersand (&).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 136 في هذه المجموعة.
فتح الحزمة
k this deck