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:
D. Last_modified
Explanation:
Software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications.
Some of the models used in the software development life cycle (SDLC) are;
I. Waterfall model.
II. Incremental model.
III. Spiral model.
IV. Agile model.
V. Big bang model.
VI. V-shaped model.
A database schema is a structure which is typically used to represent the logical design of the database and as such represents how data are stored or organized and the relationships existing in a database management system. There are two (2) main categories of a database schema; physical database schema and logical database schema.
Last_modified can be defined as a data type which comprises of the date and time that a resource such as a software application or file was edited or changed.
Hence, Last_modified is a reasonable data type that could be included in nearly any item in a logical data model for a software application.
Answer:
1. Float
2. Integer
3. String
4. Boolean
5. Float
6. String
7. Integer
Explanation:
To identify data types, we need to understand the following concepts.
Data types are categorised into 2.
1. Numeric data types
2. Non numeric data types
The numeric data types are represented by numbers and is subdivided into 2.
i. Integer: Numbers without decimals (could be positive or negative)
ii. Float or Real: Numbers with decimals (could also be positive or negative)
Going by the above illustration,
13.5 and -20.4 are float data types
-6 and 12345 are integer
2. Non numeric data types: These are data that are different from numbers or digits. They could be images, string & character, boolean, dates, etc.
I'll limit my explanation to the scope of this assignment.
String are texts and are denoted by open and close quotes ("...") i.e. data that are present with quotes are strings
Boolean are data with true or false values
So, by this explanation:
"18 Mingle Lane" and "Bonjour" are strings variables
And
False is boolean
Answer:
I believe it is "Know what you are looking for and carefully filter information for accuracy."
In think is C or B in my opinion