Question about MicroVision Compilers & Programming Tools

1 Answer

Wthat is the codes and program of grading system

Give the exact answer of this problem

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

First of all i would like to ask what language are you going to use..

Posted on Mar 12, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

What is the code for round robin in visual basic 6.0


That's not a question easily answered in the sense of a "language" (like VB, C or otherwise).

Round-Robin is actually a term for sharing a "time-slice"...

Meaning.. lets say there are 3 parties... each want 70% utilization of the processor (or time)... But.. obviously... 100% is all you have.

So.. How do you "fairly" share the time? There's a couple of ways, round-robin (for interrupts for example on x86 based processors) is a method.

What it means is-- regardless of how much time you want, or need.. the kernel (Operating system) will give you so long to get "whatever you are doing"...Done.

If you don't get it done in time... the next guy gets to do his job..for a similar amount of time... and the next guy.. and then..say-- back to you.

Hence..Round-Robin.. we all get a slice, and if we don't get it done in-time... next time around we'll another slice to get more work done... maybe the other 1 or 2 or N guys... are done, and we'll get move time..maybe others have joined in, and we'll get less-- its to-be-determinned at run-time...

That's not a code answer... I know.. but the question was a little abstract, if you can be more specific (code wise), I may be able to give more of an example..but for now, explaining WHAT it is may be more useful.

Oct 19, 2012 | Microsoft Visual Basic 6.0 (361-00686) for...

1 Answer

Create a program that will input 10 grades (75:passing, 79-84:C, 85-89:B, 90-94:A, 95:A+). It will display the average grade.


This can be done in various of ways ,

a quick C implementation of this could be -

#define NUM_OF_GRADES 10
/*
This function will average 10 grades and display their average .
*/
short AverageGrade()
{
short sumOfGrades = 0; //Saves the sum of the grades .
short i = 0; //Iterator
for (i=0;i<NUM_OF_GRADES;i++)
{
printf("Please enter a grade:\t");
sumOfGrades += scanf("%hd",&sumOfGrades);
}//for

return sumOfGrades;
}//AverageGrade

You can either implement the printing of the average inside the function or from the calling function .

Hope this somehow helps ,

Have a great day !

-Danny

Oct 14, 2012 | Program Arts Software C-Free

1 Answer

Design the program 3 grades output the grades according to each rank


#include <string>
#include <fstream>

#define MAX_NUM_STUDENTS 15
#define MAX_LEN_NAME 20
#define LEN_SSN 10

enum Rank {Freshment, Sofomore, Junior, Senior};
enum letGrade {A, B, C, D, F};

class StuRecord {
public:
void ReadRecord(ifstream& inputFile);
// Precondition:
// Input stream inputfile is opened and the file is not empty.
// Postcondition:
// The next student record in the input file is read and stored
// in this object. The rank is save as a value of the enumeration
// type "letGrade" according to the read-in numeric rank number.
void Average();
// Precondition:
// The 3 grades (grade1, grade2, and grade3) are assigned.
// Postcondition:
// Find the average of the 3 grades.
void LetterGrade();
// Precondition:
// The average is assigned.
// Postcondition:
// Determine the letter grade according to the average.
void Print() const;
// Precondition:
// name, ssn, rank, and grade are assigned.
// Postcondition:
// Print out the student record.
StuRecord();
// Default constructor.

private:
string name;
string ssn;
Rank rank;
letGrade grade;
int grade1, grade2, grade3, average;
};

And a source file...which i am not sure what to do from this point forward =(

#include "project 1.h"
#include <iostream>
#include <fstream>

using namespace std;




enum Rank {Freshment, Sofomore, Junior, Senior};
enum letGrade {A, B, C, D, F};
struct StuRecord
{
string name;
string ssn;
Rank rank;
letGrade grade;
int grade1, grade2, grade3, average;
};

Jul 08, 2010 | Compilers & Programming Tools

1 Answer

Hi i want to ask some question. what are the programs can be write in the turbo pascal, can you give me example of a program? because i need it in the school if you can help me..can u plz send me a program...


You will never learn to program by plagiarism of someone else work... we all put in the hard yards, please you do the same OK.... DO NOT take the easy way out. You will just end up being sorry.

Mar 19, 2010 | Borland Turbo Pascal 7.0 for DOS for PC

1 Answer

Coding for proress bar in c#


I do not know the exact program your trying to program or the correct application or your programing knowledge with c/c+

Because of that I can't offer you any code directly for what you need.
How ever the website http://www.planetsourcecode.com

Is a very good website for finding code snippets and other applications that have been programed that are still in open source codes. In C# and in many other languages.

May 30, 2009 | Compaq Compilers & Programming Tools

1 Answer

Can i get source code for calculating arithmetic operations of vb


just take a look to this site:
http://www.codeproject.com/
you'll get all your answers about VB and totally .NET there by a simple search
enjoy it!

Feb 19, 2009 | Microsoft Visual Basic 6.0 (361-00686) for...

1 Answer

Sample code from visual basic


Just go to this URL:
http://www.codeproject.com/
You can find many sources about your stuff by a simple search there.
Enjoy it!

Jan 31, 2009 | Microsoft Visual Basic 6.0 for PC

2 Answers

Create desktop icon


Check: http://www.altiris.com/upload/wise901.htm

Basically you need to create a link to your program.

The link should be created into the following directory:

(System Drive):\Documents and Settings\All Users\Desktop

You can do this in any language, C, VBasic, Pascal, even a DOS batch file.

1) Retrieve the installation path of your program + the name
of the executable.

2) Call the windows API to create a shortcut.

3) Here is a link to a solution in Delphi Pascal, which is my
favorite development tool:

http://www.delphifaq.com/faq/delphi/windows_file_system/
f410.shtml

4) Once you get the Delphi program to program to work,
you can simply call it from Wise, at the end of the
installation ...

or

you can call Wise from the Delphi program before creating
the link.

Hope this gets you started, unfortunately it is a little technical.

Martin.
Please rate my answers.

Jun 07, 2008 | Wise Solutions Wise Installation System 9...

1 Answer

The device cannot start. (code 10)


Msoft forum answer http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1912325&SiteID=1

Also check you have all updates for your Windows system (Vista I am guessing) as well as Windows Media Player.

Mar 14, 2008 | Compilers & Programming Tools

Not finding what you are looking for?
Compilers & Programming Tools Logo

Related Topics:

105 people viewed this question

Ask a Question

Usually answered in minutes!

Top MicroVision Compilers & Programming Tools Experts

Robin Hill
Robin Hill

Level 3 Expert

1251 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18298 Answers

Florin

Level 3 Expert

733 Answers

Are you a MicroVision Compiler and Programming Tool Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...