NEW
Font size
WorksheetsISAC Weekly Quiz 8 (C & DBMS)
Total questions: 10
Worksheet time: 5mins
What will be the output of the following C code?
hi
hello
no
error
What will be the output of the following C code?
inside if
inside else if
inside else
compile time error
What will be the output of the following C code?
Compile time error
Hello is printed thrice
Nothing
Hello is printed infinitely
How many times i value is checked in the following C code?
2
3
4
1
H
H is printed infinite times
Compile time error
Nothing
The entity relationship set is represented in E-R diagram as
Double diamonds
Undivided rectangles
Dashed lines
Diamond
If you were collecting and storing information about your music collection, an album would be considered a(n) _____
Relation
Entity
Instance
Attribute
Key to represent relationship between tables is called
Primary key
Secondary Key
Foreign Key
Super Key
SELECT * FROM employee WHERE salary>10000 AND dept_id=101;
Which of the following fields are displayed as output?
Salary, dept_id
Employee
Salary
All the field of employee relation
SELECT instructor.*
FROM instructor, teaches
WHERE instructor.ID= teaches.ID;
This query does which of the following operation?
All attributes of instructor and teaches are selected
All attributes of instructor are selected on the given condition
All attributes of teaches are selected on given condition
Only the some attributes from instructed and teaches are selected
