Answer:
cout <<showpoint << x; is the statement which prints the decimal point, but without forcing scientific.
Explanation:
The showpoint function in c++ print the decimal point number without forcing scientific.The showpoint function set the showpoint format flag for the str stream in c++.
Following are the program in c++
#include<iostream> //header file
using namespace std; // namespace
int main() // main function
{
double x=90.67; // double variable
cout <<showpoint << x; // display x without forcing scientific
return 0;
}
Output
90.6700
Answer:
The answer to this question is given in the explanation section. The correct option is long tail
Explanation:
a.Folksonomy
Folksonomy is a way of organizing data and digital content. With Web 2.0, users can collaboratively manage and tag photos, journals and other media. As more users do this, creates a system of classification for the media and information. so this option is not correct
b. long tail (correct option)
Some sites are able to offer services as well in which users can subscribe monthly or pay a fee every so often. An example of this would be Netflix.
c.user participation
All users have the free will to contribute to the site which makes many Web 2.0 pages public. With sites such as Wikipedia, anyone is open to the editing of articles. Information is provided two-way instead of solely from the site owner.
d.application
Web 2.0 applications that allow anyone to create and share online information or material they have created. As you know that there are number of different types of web 2.0 applications including wikis, blogs, social networking, folksonomies, podcasting & content hosting services.
Answer:
C) OpenID Connect
Explanation:
The best option is OpenID Connect because is based in OAuth, and supports multiple web based and mobile clients, and supports REST.
With OAuth, we cannot make any user authentication just provide a token to access data.
RADIUS is a networking protocol, and Shibboleth is a single sign-on log-in system for computer networks and the Internet, both not support REST.
Answer:
- import java.util.Arrays;
- import java.util.Scanner;
-
- public class Main {
- public static void main(String[] args) {
- Scanner input = new Scanner(System.in);
- double distances [] = new double[7];
-
- for(int i=0; i < distances.length; i++){
- System.out.print("Input running distance for day " + (i+1) + ": ");
- distances[i] = input.nextDouble();
- }
-
- System.out.println(Arrays.toString(distances));
- }
- }
Explanation:
The solution code is written in Java.
Firstly, create a Scanner object to get user input for running distance (Line 6). Next, declare a distances array and set the array size to 7 because we intend to use this array to hold running distance for 7 days per week.
Next, use the for loop that run for 7 times to repeatedly prompt user to input running distance for each day and store each value to the array distances (Line 9 -12).
At last, display the array to console terminal (Line 14).