Questions
a) Name all the epimeric pairs you can find in these diastereoisomers. At what positions are...

a) Name all the epimeric pairs you can find in these diastereoisomers. At what positions are they epimeric?

Using any two of these diastereoisomers as examples, name their enantiomers and anomers.

D-allose, D-altrose. D-mannose, D-glucose, D-gulose, D-galactose, D-talose, D-idose

b) Using any two of these diastereoisomers as examples, name their enantiomers and anomers.

In: Chemistry

Programming Java Homework: Find the Highest Score (Just need the code and directions followed exactly and...

Programming Java Homework:

Find the Highest Score (Just need the code and directions followed exactly and written in Java code)

Write a program that prompts the user to enter the number of students and each student’s name and score, and finally displays the name and score of the student with the highest score.

Use the next () method in the Scanner class to read a name, rather than using the nextLine () method.

In: Computer Science

Edit the given program to produce the following output in c++ mode: - Take in the...

Edit the given program to produce the following output in c++ mode:
- Take in the name of a superhero & tell him how many villains he/she has to defeat today - The number of villains is randomly generated and should be a number between 11 and 42.
- Use a seed of 7.
Hint: Compile the program first before making edits

What is your name?
Hello Captain America
There are 42 villains you need to defeat today
Oops! one of the villains was able to multiply himself by  a power of 3.
There are actually 74088 villains.

the program starts her

#include <string>                                  //make sure that all necessary libraries are included & correct
using namespace std;

int main() {
string name;
int number;

  
   cout << "What is your name?" << endl;
   cin >> name;
   cout << "Hello " << name << endl;
   cout << "There are "<< number >> " villains you need to defeat today"<< endl;          // edit and include any necessary code
   cout << "Oops! one of the villains was able to multiply himself by a power of 3. There are actually villains." << endl;
  
  
  

   return 0;
}

In: Electrical Engineering

In Python Please Samwell Tarly knows that in the world of Westeros, some names are better...

In Python Please
Samwell Tarly knows that in the world of Westeros, some names are better than others. Some like Aegon Targaryen and Tyrion Lannister. He and Citadel believe that a correct name should have the same number of capital letters as words, for example: Bran Stark is correct. Whereas Brienne of Tarth is not. Your task is to help read the books and determine the correct names. Each name is strictly composed of letters and names separated by single spaces. Input Format Several test cases, one per line, each containing the name of a person. No name contains more than 20 words and each word does not contain more than 30 characters. (End of file loop) Constraints (End of file loop)

Output Format For each name, you must print “Correct” if the name is approved, otherwise you must print “No”. Sample Input 0

Robert Baratheon

Daenerys Targaryen

Cersei lannister

Theon Greyjoy

Brienne of Tarth

Arya Stark

Melisandre

Gray worm

Jon snow

Daario NaHaris

In: Computer Science

This program will function exactly the same as Ponder 02. It prompt the user for a...

This program will function exactly the same as Ponder 02. It prompt the user for a filename. We will then read the contents of the file into a list. The program will then prompt the user for a name. Finally, we will tell the user whether the name is in the list.

Read From a File

The first part of the program will be to read the contents of a file into a list. This data will be in JSON. For example, the contents of the file languages.json might be:

{
  "array": [
      "C",
      "C#",
      "C++",
      "Java",
      "JavaScript",
      "Kotlin",
      "PHP",
      "Perl",
      "Python",
      "Swift",
      "VB"
  ]
}

Note that the contents of this file are guaranteed to be in sorted order. Of course, if the file does not exist, then a user-friendly message will be displayed to the user.

Advanced Search

Next the program will use the advanced search to determine if the name is in the list. This should behave exactly the same as it did for the linear search in Ponder 02. The only difference is that we will use a much more efficient algorithm to perform the search.

When finished, the program will display a message indicating whether the name was found.

Example

The following example is a single run-through of the program.

What is the name of the file? languages.json
What name are we looking for? C++
We found C++ in languages.json.

In: Computer Science

Write a program that gathers input from the user and writes the information out to a...

Write a program that gathers input from the user and writes the information out to a file (output.txt).  

Your main method should gather the input, calculate the average, and write the output. You should have a separate method that writes the output to a file. You can have other methods as well if you choose. However, you MUST have at least one other method in addition to the main method.

Inputs:
Student Number
Name
Class name
Grades 1-5 (5 individual grades)

Output: Student Number: [student number]
Student Name: [student name]
Class: [class name]
Grade 1: [grade 1]
Grade 2: [grade 2]
Grade 3: [grade 3]
Grade 4: [grade 4]
Grade 5: [grade 5]
Average: [grade average]


Example output.txt file:
Student Number: 12345
Student Name: Marty McFly
Class: Music Theory
Grade 1: 90
Grade 2: 85
Grade 3: 70
Grade 4: 99
Grade 5: 96
Average: 88

In: Computer Science

Please Code Using Java Create a class called SoccerPlayer Create 4 private attributes: First Name, Last...

Please Code Using Java

Create a class called SoccerPlayer

Create 4 private attributes: First Name, Last Name, Games, and Goals

Have two constructors

Constructor 1 – default constructor; all values to "NONE" or zero

Constructor 2 – accepts input of first name, last name, games and goals.

Create get and set methods for each of the four attributes

Create a method the returns a double that calculates the average goals per game

This method checks for zero games played:

If there are zero played, display an error and set average to 0;

If greater than zero, do the math and set average to result of calculation

Create a test program that allows you to set the first name, last name, number of games and number of goals. Call it SoccerPlayerTest.

Create two instances of players.

The first should use the default constructor and the set methods to fill the attributes

The second should use the other constructor to set the attributes

Display the info about the players including the average goals per game.

In: Computer Science

A typical American family uses 1000 kWh of electricity pro 30 days.

A typical American family uses 1000 kWh of electricity pro 30 days.

What is the average RMS current in the 160 V power line to the house?

In: Physics

Which of the following theories is used in the court's analysis provided in Wickard v. Filburn?...

Which of the following theories is used in the court's analysis provided in Wickard v. Filburn?

Cumulative Effect

Substantial Economic Effect Theory

Prohibitive Effect Theory

In: Finance

Find the largest volume V = xyz of a box for which the point (x, y,...

Find the largest volume V = xyz of a box for which the point (x, y, z) is on the ellipsoid x^2 + 4y^2 + 16z^2 = 48

In: Math