Answer:
Shows the programming checking if num1 is greater than num2
Explanation:
So num1 and num2 are inputs
for you to code this you would need to put
num1=int(input("What is your first number? ))
and the same for num2 except change num1 for num 2 and first for second
When the input is completed, the computer will check if num 1 is greater than num2
it will do this by using a code something like:
if num1>num2:
Print("Your first input was greater than your second")
But in this example if it greater it just ends
But if it was less than you would put
if num1>num2:
Print("Your first input was greater than your second")
elif num1<num2:
Print("Your first input is less than your second")
So basically this code shows the computer checking if one number is greater than the other or not
Answer:
- def Lambda(strList):
- return list(filter(lambda s: (s.startswith("e")), strList))
-
- print(Lambda(["meaning", "cart", "engine", "egg"]))
Explanation:
The solution code is written in Python 3.
Lambda function is an anonymous function. It is a function without any name and it is started with keyword lambda. To write a lambda function to filter the string started with an 'e', we can write a lambda expression, s.startswith("e") that work on one input strList. If any word from strList started with letter "e", the word will be added into a list generated by filter function. At the end, the Lambda function will return the list of strings as output.
When we test the Lambda function using the sample string list (Line 4), we shall get ['engine', 'egg'] printed to terminal.
Answer:
C. Unclustered index has the same ordering of data records as that of the data entries in the database
Explanation:
Indexes are used to split up queries in an SQL server or database management system DBMS.
There are two types of indexes namely clustered indexed and unclustered indexes.
Clustered indexes define the order in which data is stored in a table while unclustered index does not sort the order in a table.
In an unclustered index, the data table and the index are stored in different places, they are easy to maintain and update since they do not follow a particular order and there can be several indexes in a data file since the data table is stored differently from the index file.
So, all the other options except C are features of unclustered indexes since unclustered index does not have the same ordering of data records as that of the data entries in the database.
So, C is the answer.
Answer:
It allows companies to make definitive predictions about the future. It gives companies the ability to make informed decisions.
It helps Data Analysts shape an analytics problem from a business problem.
Explanation:
Answer: UTF-8 (Unicode transformation format) is a technique that is capable of producing any character in Unicode standard.
Explanation: UTF-8 is supporting technique that helps in changing any block of bits of any language.It is used for converting any code into the unicode characters.It was created because this coding technique that supports various languages and is also replacing the ASCII code. UTF-8 code is highly compatible with the ASCII codes and has better properties than it.