Answer:
The solution code is written in Python 3
- import random
- import string
-
- def simulate_several_key_strikes(l):
- char_set = string.ascii_lowercase
- return ''.join(random.choice(char_set) for i in range(l))
-
- print (simulate_several_key_strikes(10))
Explanation:
The program is aimed to generate random characters and the number of characters generated is dependent on user input. Hence, we will need to import the random module (Line 1). We also import string module so that we can make use of its associated method to generate English letters (Line 2)
Next, we create the function simulate_several_key_strikes that takes one single parameter, l, as input. Within the function body, we use ascii_lowercase method to generate the lowercase letter set and assign it to char_set variable (Line 5). We use random.choice method to randomly pick one of the letter in char_set and join it with an empty string (Line 6). Please note there is a for-loop that will repeatedly generate l-number of character and eventually return it as output.
We test the function by passing 10 as input parameter and we shall get a sample output as follows:
xuiczuskoj
Answer:
five types of pointing devices
Explanation:
Ponting devices
Pointing means point something and the pointing devices are the input /peripheral devices those are used to point the pointer on the screen. We do move cursor on the screen to open the files or any icon.
There are many types of pointing devices but these are quite common which are given below
- Computer mouse
- Finger on touch screen.
- Joystick.
- Leap Motion.
- Light pen (pen)
1.Mouse
Mouse is most common type of input device that is used for pointing the data on the screen. We press it with our hands and keep pointing the things.
There are three types of mouse
- optical mouse
- wireless mouse
- trackball mouse.
2. Finger on touch screen
In this type of movement the fingers are input devices those we use to see the movement of pointer on the screen and this is most common in this century.
3.Joystick.
Joystick is another input device to point the cursor but it is mostly used in games. Children can use it smartly so it is inculcated in games usually.
4. Leap Motion
The Leap Motion (LM) controller is a latest 3D sensing device for hand posture interaction with a computer. It is having the capability sense the location of the fingers of the hands, as well as the palm position.
5.Light Pen
this is another pointing device which is mostly used to highlight and select the data on the screen.
Note: All of these above pointing devices are most common used now a days. These devices are having new conventions day by day for the ease of user. This era is basically the era of IT ,so the use of computer must be so easy and conventional for the user so, the innovations and improvement in such devices is made side by side.
You can not communicate directly between Angular and MySQL. You'll need to build a back-end Web service that calls MySql using php or node. Angular can communicate with this back-end Web service via http.
<span>There are 4 computer language generations. First is the first generation language or 1GL, second is the second-generation languages or the 2GL, next is the third-generation languages or the 3GL, and the last is fourth-generation languages or the 4GL.</span>
Answer:
correct option is B. The Delphi technique
Explanation:
RAND was developed by Delphi method in the 1950 s and initially to predict the impact of technology on the military.
This method involves a group of experts who respond anonymously to questions and subsequently receive an answer as in the form of statistical representation of group response and after that process repeats itself.
As the goal to narrow down the range of responses and get to something close to a consensus agreement and this Delphi method widely adopted and is still relevant today.
so correct option is B. The Delphi technique