ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 06 Jun 2017 My Price 8.00

class diagram and the contents of the Flemain.cppto

hi csexpertor

please find attached

please check my Q1&Q2 answers and let me know what i need to fix?

help with Q1.2

please help with Q3 and 4, i am working on them as well , need to try complete this today

 

 

Question 1Consider the following UML class diagram and the contents of the Flemain.cppto answer the questions that follow them://main.cpp#include <QApplication>#include <QInputDialog>#include <QMessageBox>#include "module.h"QStringList getModuleInfo(){QString userInput = QInputDialog::getText(0, "Module Details","Enter module code and module name (code and name separated by ,)");QStringList modInfo = userInput.split(",");return modInfo;}int main(int argc, char *argv[]){QApplication a(argc, argv);// Include your code herereturn 0;}The class Module represents a module, which stores the module code andmodule name in its data members.toString()returns a stringrepresentation of the data members of an instance ofModule.getNQ±Level()returns the NQ± level of a module given its modulecode. The NQ± level of a module is represented by the 5thcharacter of themodule code.Assume that Module is implemented correctly and added to a Qt project,which also has the above main.cpp Fle.1.1Explain in detail what the functiongetModuleInfo()does.Answer: The function prompts a user to input a module code andname separated by “,” using the static public member function

Attachments:

Answers

(11)
Status NEW Posted 06 Jun 2017 04:06 AM My Price 8.00

-----------

Not Rated(0)