![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 26.05.2021 15:50 liyahheadhigh
Obtain regular expression for the following given = (a, b);
i) All strings that start with ab.
ii) All strings that start with bba.
iii) All strings that end with abb.
iv) All strings that contain a substring aab. (1 marks each)
![ansver](/tpl/images/cats/User.png)
Answers: 3
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 01:30
Consider the following statements: #include #include class temporary { private: string description; double first; double second; public: temporary(string = "", double = 0.0, double = 0.0); void set(string, double, double); double manipulate(); void get(string& , double& , double& ); void setdescription(string); void setfirst(double); void setsecond(double); }; write the definition of the member function set() so that the instance variables are set according to the parameters. write the definition of the constructor so that it initializes the instance variables using the function set() write the definition of the member function manipulate() that returns a decimal number (double) as follows: if the value of description is "rectangle", it returns first * second if the value of description is "circle" it returns the area of a circle with radius first if the value of description is "cylinder" it returns the volume of a cylinder with radius first and height second. hint: the volume of a cylinder is simply the area of the circle at the base times the height. if the value of description is "sphere" it returns the volume of the sphere with radius first. otherwise it returns -1.0;
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 03:10
This program reads a file called 'test.txt'. you are required to write two functions that build a wordlist out of all of the words found in the file and print all of the unique words found in the file. remove punctuations using 'string.punctuation' and 'strip()' before adding words to the wordlist. write a function build_wordlist() that takes a 'file pointer' as an argument and reads the contents, builds the wordlist after removing punctuations, and then returns the wordlist. another function find_unique() will take this wordlist as a parameter and return another wordlist comprising of all unique words found in the wordlist. example: contents of 'test.txt': test file another line in the test file output: ['another', 'file', 'in', 'line', 'test', 'the']
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
![question](/tpl/images/cats/informatica.png)
You know the right answer?
Obtain regular expression for the following given = (a, b);
i) All strings that start with ab.
Questions
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 11.11.2020 05:10
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
English, 11.11.2020 05:10
![question](/tpl/images/cats/mat.png)
Mathematics, 11.11.2020 05:10
![question](/tpl/images/cats/ap.png)
Advanced Placement (AP), 11.11.2020 05:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/istoriya.png)
History, 11.11.2020 05:10
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 11.11.2020 05:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 11.11.2020 05:10
![question](/tpl/images/cats/biologiya.png)
Biology, 11.11.2020 05:10
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 11.11.2020 05:10