Fetching the instruction or data item from memory,
Decoding the instruction into commands the computer understands,
Executing the commands, and, if necessary,
Storing, or writing, the result to memory.
Steve ju answered the question on June 6, 2018 at 22:01
-
Give the differences between random access memory(RAM)and read only memory(ROM)
(Solved)
Give the differences between random access memory(RAM)and read only memory(ROM)
Date posted:
June 6, 2018
.
Answers (1)
-
Give the differences between reduced instruction set computing processor and complex instruction set computing processor
(Solved)
Give the differences between reduced instruction set computing processor and complex instruction set computing processor
Date posted:
June 6, 2018
.
Answers (1)
-
State the advantages of object oriented programming languages
(Solved)
State the advantages of object oriented programming languages
Date posted:
June 6, 2018
.
Answers (1)
-
Features of object oriented programming languages
(Solved)
Features of object oriented programming languages
Date posted:
June 6, 2018
.
Answers (1)
-
Explain the stages of data collection
(Solved)
Explain the stages of data collection
Date posted:
June 6, 2018
.
Answers (1)
-
State the data collection media and methods
(Solved)
State the data collection media and methods
Date posted:
June 6, 2018
.
Answers (1)
-
Types of errors during data collection
(Solved)
Types of errors during data collection
Date posted:
June 6, 2018
.
Answers (1)
-
Describe types of files
(Solved)
Describe types of files
Date posted:
June 6, 2018
.
Answers (1)
-
Describe data storage hierarchy
(Solved)
Describe data storage hierarchy
Date posted:
June 6, 2018
.
Answers (1)
-
Give reasons why workers resist computers
(Solved)
Give reasons why workers resist computers
Date posted:
June 6, 2018
.
Answers (1)
-
The two primary objectives of Operating System
(Solved)
The two primary objectives of Operating System use
Date posted:
June 6, 2018
.
Answers (1)
-
What is a digital circuit?
(Solved)
What is a digital circuit?
Date posted:
June 4, 2018
.
Answers (1)
-
Explain two roles of a computer driver
(Solved)
Explain two roles of a computer driver.
Date posted:
June 4, 2018
.
Answers (1)
-
Name three functions of computer drivers
(Solved)
Name three functions of computer drivers.
Date posted:
June 4, 2018
.
Answers (1)
-
Write a program using C++ language that creates a two-by-three two-dimensional safe array of integers.Demonstrate that it works.
(Solved)
Write a program using C++ language that creates a two-by-three two-dimensional safe array of integers.Demonstrate that it works.
Date posted:
May 29, 2018
.
Answers (1)
-
Using c++ language, create a function called recip() that takes one double reference parameter.Have the function change the value of that parameter into its reciprocal.Write...
(Solved)
Using c++ language, create a function called recip() that takes one double reference parameter.Have the function change the value of that parameter into its reciprocal.Write a program to demonstrate that it works
Date posted:
May 29, 2018
.
Answers (1)
-
Show how to allocate a float and an int by using new. Also, show how to free them by using delete.
(Solved)
Show how to allocate a float and an int by using new. Also, show how to free them by using delete.
Date posted:
May 29, 2018
.
Answers (1)
-
The copy constructor is also involked when a function generates the temporary object that is used as the function's return value. With this in...
(Solved)
The copy constructor is also involked when a function generates the temporary object that is used as the function's return value. With this in mind, consider the following output:
constructing nomally
constructing normally
constructing copy
This output was created by the following program. Explain why, and describe precisely what is occuring.
#include
using namespace std;
class myclass {
public:
myclass();
myclass(const myclass &o);
myclas f();
};
// Normal constructor
myclass::myclass()
{
cout << "Constructing normally\n";
}
// Copy constructor
myclass::myclass(const myclass &ocout << "Constructing copy\n";
}
// Return an object.
myclass myclass::f()
{
myclass temp;
return temp;
}
int main()
{
myclass obj;
obj = obj.return 0;
}
Date posted:
May 29, 2018
.
Answers (1)
-
Imagine a situation in which two classes, called pr1 and pr2, shown below, share one printer.Further imagine that other parts of your program need to...
(Solved)
Imagine a situation in which two classes, called pr1 and pr2, shown below, share one printer.Further imagine that other parts of your program need to when the printer is in use by an object of either of these two classes. Create a function in C++ called inuse() that returns true when the printer is being used by either and false otherwise. Make this function a friend of both pr1 and pr2.
class pri1 {
int printing; //...
public:
pr1 () {printing = 0}
void set_print (int status) {printing = status;}
// ...
};
class pr2 {
int printing;
// ...
public:
pr2 () {printing = 0;}
void set_prt status) {printing = status; }
// ...
};
Date posted:
May 29, 2018
.
Answers (1)
-
When an object of a derived class is assigned to another object of the same derived class, is the data associated with the base class...
(Solved)
When an object of a derived class is assigned to another object of the same derived class, is the data associated with the base class copied? To find out, use the following two classes and write a program that demonstrates what happens.
class base {
int a;
public:
void load_a(int n) { a= n; }
int ge() { return a;}
};
class derived : public base {
int b;
public:
void load_b(int n) {b=n;}
int get_b() {return b;}
};
Date posted:
May 29, 2018
.
Answers (1)