Answer:
View Base tables: Virtual table based on a SELECT query
CREATE VIEW statement: Data definition command that stores the query specification in the data dictionary
DROP VIEW statement: Data definition command that removes the query specification in the data dictionary
Explanation:
Views are virtual tables, which can be created by select queries using the real database tables.
Creating and dropping views can be done by the CREATE VIEW and DROP VIEW statements.
<u>CREATE VIEW syntax:</u>
CREATE VIEW view_name AS
SELECT column1, column2, ...
FROM table_name
WHERE condition;
<u>DROP VIEW syntax:</u>
DROP VIEW view_name;
Answer:
D. None of the answers is correct, since we're missing the probabilities: p(X1=0), p(X1=1),
Explanation:
To calculate the probability that an example belongs to a particular category, we need to know the prior probability of the category (p(Y=0) or p(Y=1)), the probability of the attribute value given the category (p(X1=0|Y=0) or p(X1=1|Y=1)), and the probability of the attribute value (p(X1=0) or p(X1=1)). We are missing the latter two probabilities, so we cannot calculate the probability that an example belongs to a particular category.
Answer:
MyString= input('Enter string: ')
string_capitalize(MyString)
print(MyString)
def string_capitalize(str):
str= str.capitalize()
return str
Explanation:
This python code is learnt to access string value from users and capitalize all characters in the beginning of each sentence.
Answer:Pseudocode helps us understand tasks in a language-agnostic manner. Is it best practice or suggested approach to have pseudocode creation as part of the development lifecycle? For instance:
Identify and split the coding tasks
Write pseudocode
Get it approved [by PL or TL]
Start Coding based on Pseudocode
Explanation: use phrasing tool if you want to write in your own words.