Answer:
scope
Explanation:
An Open Authorization refers to a method that helps to share data using third party services without giving your credentials and there is a mechanism in an Open Authorization that allows to limit the access that the third party app has to an account that is called scope. Because of that, the answer is that an Open Authorization (OAuth) access token would have a scope that tells what the third party app has access to because it is what limits the access the app has to an account and it shows the access given in a consent screen.
Answer:
Registry
Explanation:
Windows Registry is used to store the configuration and setting information for hardware and software program which is critical for Windows operation. The registries are structured in hierarchical database model.
Basically, hierarchical database model is akin to a tree format which consist of the parent nodes and their child nodes. For example, a node named as HKEY_LOCAL_MACHINE can possess child nodes HARDWARE, SOFTWARE AND SYSTEM.
The node in the tree is also termed as a key.
Answer:
- import random
-
- states = {
- "Alabama": "Montgomery",
- "California": "Sacramento",
- "Florida": "Tallahassee",
- "Hawaii": "Honolulu",
- "Indiana": "Indianapolis",
- "Michigan": "Lansing",
- "New York": "Albany",
- "Texas" : "Austin",
- "Utah" : "Salt Lake City",
- "Wisconsin": "Madison"
- }
-
- correct = 0
- wrong = 0
- round = 1
- while(round <= 5):
- current_state = random.choice(list(states))
- answer = input("What is the capital of " + current_state + ": ")
-
- if(answer == states[current_state]):
- correct += 1
- else:
- wrong += 1
-
- round += 1
-
- print("Correct answer: " + str(correct))
- print("Wrong answer: " + str(wrong))
Explanation:
The solution code is written in Python 3.
Line 3 -14
Create a dictionary of US States with capital as each of their corresponding value. Please note only ten sample states are chosen here.
Line 16 - 18
Create variables to track the number of correct and inaccurate response and also round counter.
Line 19 - 28
Set the while condition to enable user to play the quiz for five questions and use random.choice to randomly pick a state from the dictionary and prompt user to input the capital of selected stated.
If the answer matched with the capital value of the selected state, increment the correct counter by one. Otherwise the wrong counter will be incremented by one. Increment the round counter by one before proceed to next round.
Line 30 - 31
Print the number of correct responses and wrong responses.
Answer:
The answer is "Dynamic".
Explanation:
The dynamic allocation of the IP address describes the difference from once in a while, unlike with a static IP address.
- In this many residential networks are work on different IP addresses, which requires, and provides clarification.
- It is also known as an economical, Provides by "ISP" to allocate a dynamic IP address to certain subscribers.
Answer:
a) 6
b) 11
c) 11
Explanation:
Given
Prime value q =n= 19
primitive root (a) =10
Alice secret key = 4
Bob secret key = 6
a) The value Alice Sends to Bob
aPrivate key of Alice mod n
= 10^4 mod 19
= 10000 mod 19
=6
b)The value Bob sends to Alice
aPrivate key of Bob mod n
= a3 mod n
= 10^6 mod 19
=1000000 mod 19
= 11
c)
Both the parties calculate the value of secret key at their respective side.
secret key obtained by Alice
= 11
secret key obtained by Bob
= 11
Finally, both the parties obtain the same value of secret key.
The value of common secret key = 17