Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Discuss the ways in which a full-page word processor is or is not a direct manipulation interface for editing a document using Schneider man's criteria. What features of a modern word processor break the metaphor of composition with pen (or typewriter) and paper?





(15)marks

#include <iostream>

#include <string>

using namespace std;

struct book

{

string title;

string author;

unsigned int year;

};

int main()

{

book bookrec;

cout << “Enter Book Title:”; getline(cin,bookrec.title);

cout << “Enter Book Author:”; getline(cin,bookrec.author);

cout << “Enter Publication Year:”; cin >> bookrec.year;

cout << “The following information has been received…\n”);

cout << “Book Title:” << bookrec.title;

cout << “Book Author:” << bookrec.author;

cout << “Year Published:” << bookrec.year << “\n”;

system(“pause”);

return 0;

}


qusetion: Multiplication of matrix ??


input:

3 3

1 2 3

4 5 6

7 8 9


10 11 12

13 14 15

16 17 18


output:-

[84 90 96]

[201 216 231]

[318 342 366]





Construct a simple purchasing program based on the Requirement Below.



Main.java should only contain the main method and a Reference of Purchase Object. Purchase.java should contain this fields & Methods:





Fields/Instance Variables



-itemName : String



-itemPrice : double



-itemQuantity : int



-amountDue :double





Methods



setItemName(String itemName) : void



setTotalCost(int quantity, double price) : void



getItemName(): String



getTotalCost(): double



readInput():void



writeOutput(): void





Note: The readinput() method will be used to accept user input through the Scanner class.



Simple output :


Enter the name of the Item you are Purchasing: Bag


Enter QTY and Price Separated by a space: 3 499.75


You are Purchasing 3 Bag(s) at 499.75 each.


Amount due is 1,499.25



question: find the perimeter of the given matrix?


input1:-

3 3

1 2 3

4 5 6

7 8 9

output :-

1+2+3+4+6+7+8+9 = 40


input2:-

4 4

1 2 3 4

5 6 7 8

9 10 11 12

13 14 15 16

output:-

1+2+3+4+5+8+9+12+13+14+15+16= 102





Create a program using C# that implements the stream ciphers Cryptographic method . A stream cipher method inputs digits, bits, or characters and encrypts the stream of data. The onetime pad is an example of a stream cipher.

In this formative you have been requested to create an application that will work as the One-time pad (OTP), also called Vernam-cipher or the perfect cipher. This is a crypto algorithm where plaintext is combined with a random key and generate a ciphertext.


Marks allocation 

1. The programme should received a string " How are you Isaac " - 10

2. The programme should generate an OTP of the length of the string entered "How are you Isaac "- 10

3. The program should Generate a Ciphertext based on the above example- 30

Create console programs:




Example output:




Enter 5 grades:



90



83



87



98



93



The average is 90.2 and round off to 90.





Input


1. First number

2. Second number

3. Third number

Output

The first three lines will contain message prompts to input the three numbers.

The last line contains the product of the three numbers with 1 decimal place.

Enter·the·first·number:·1.6
Enter·the·second·number:·-2
Enter·the·third·number:·-1
Product·=·3.2






1) What is the output produced by the following code? Explain the code in detail.

int *p1, *p2; 

p1 = new int; 

p2 = new int;

*p1 = 10; 

*p2 = 20; 

cout << *p1 << " " << *p2 << endl; 

p1 = p2; 

cout << *p1 << " " << *p2 << endl; 

*p1 = 30;

cout << *p1 << " " << *p2 << endl;

How would the output change if you were to replace *p1 = 30; with the following? *p2 = 30;


A private String data field named patientName.

b) A private int data field named newID. This value will be automatically incremented with the creation of

each Appointement object. The initial value of newID is 1.

c) A private constant (final) int data field named APPOINTEMENT_ID.

d) A private int data field named dayhe value represents the day of the week from 1 to 5, (1 for Monday, 2

for Tuesday, and so on till Friday).

e) A private int data field named hour. Accepted values are 8, 9, 10, …14

f) A constructor that creates a new appointment with specific patient Name given as argument. Then, the

appointment will be immediately assigned a APPOINTEMENT_ID according to newID.

g) The accessor (getter) methods for patientName and APPOINTEMENT_ID.

h) The accessor and mutator (setter) methods for the day and hour fields. Note that if the day value is not in

[1,5] then the field is set 0. Also, if the hour is not in [8,14], the field value is set to 0.


LATEST TUTORIALS
APPROVED BY CLIENTS