mirror of
https://github.com/robindhole/fundamentals.git
synced 2025-03-15 22:59:53 +00:00
Fixes mcq formatting.
This commit is contained in:
parent
9683da16d0
commit
d6c1c2c61c
@ -1,26 +1,26 @@
|
|||||||
# Questions
|
# Questions
|
||||||
1. Joe Bloggs wants to create a website which returns the factorial of a number given by the user.
|
1. Joe Bloggs wants to create a website which returns the factorial of a number given by the user.
|
||||||
Should Joe store this result in a database?
|
Should Joe store this result in a database?
|
||||||
>A. Yes
|
>A. Yes \
|
||||||
B. No
|
B. No
|
||||||
---
|
---
|
||||||
2. The website is a hit. Now Joe wants to show user their past results. So he has the store the values in a database.
|
2. The website is a hit. Now Joe wants to show user their past results. So he has the store the values in a database.
|
||||||
Which of the following should not be in the database?
|
Which of the following should not be in the database?
|
||||||
|
|
||||||
>A. User details
|
>A. User details \
|
||||||
B. Input and Output (number and factorial)
|
B. Input and Output (number and factorial) \
|
||||||
C. User's Amazon orders
|
C. User's Amazon orders
|
||||||
---
|
---
|
||||||
3. Joe Bloggs decides to use a MySql database. But he puts all his data in the database. Which of the following can he store as file?
|
3. Joe Bloggs decides to use a MySql database. But he puts all his data in the database. Which of the following can he store as file?
|
||||||
>A. User details
|
>A. User details \
|
||||||
B. Input and Output (number and factorial)
|
B. Input and Output (number and factorial) \
|
||||||
C. AWS credentials
|
C. AWS credentials \
|
||||||
D. Passwords
|
D. Passwords
|
||||||
---
|
---
|
||||||
4. Joe Bloggs want to uniquely identify whenever a user ran a calculation. What feature of a database can he use to achieve that?
|
4. Joe Bloggs want to uniquely identify whenever a user ran a calculation. What feature of a database can he use to achieve that?
|
||||||
>A. Primary key
|
>A. Primary key \
|
||||||
B. Foreign key
|
B. Foreign key \
|
||||||
C. Tuple
|
C. Tuple \
|
||||||
D. Index
|
D. Index
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user