What is the meaning of the keyword 'this', and how can the keyword be used? Select all that apply.
Q: What is the return code for this procedure?
A: The CPU of the computer runs the code when a procedure is called. The method's calling code will…
Q: How do you qualify the name of a field, and when do you need to do this?
A: The name of a field can be qualified by indicating the table which it belongs This can be done by…
Q: write your own example of building a calculator with jquery
A: Answer : I have created a calculator view site using the bootstrap. I have used addition,…
Q: Write at least 5 question by your own using integration.
A: Given: Write at least 5 question by your own using integration.
Q: Can I please know why my response says incomplete? How to fix this?
A: In line 11. scanf("%f, length"); this throws 1 warning and 1 error. the double use the %lf format…
Q: Kevin wants to use a Boolean operator to find information on two topics. To get the desired search…
A: The boolean operators are the simple AND , OR, NOT and AND NOT. Which is use to combine and exclude…
Q: What are headers and trailers, and how do they get added and removed?
A: The answer to the question is given below:
Q: What does it mean to have a key that is one of a kind?
A: The key is the data item that uniquely identifies the record. In other words, a key is a set of…
Q: How Do We Change The Number Of Mouse Clicks To Open Item
A: Required: How Do We Change The Number Of Mouse Clicks To Open Items?
Q: What is the meaning of the keyword this? Describe three ways that the keyword can be used.
A: In this answer I will be discussing about the keyword this.
Q: Please double-check all of my references and APA citations in my PowerPoint presentation before I…
A: PowerPoint's aim is to serve as a visual assistance while a presenter progresses through their…
Q: What strategies do you have in place for collecting and interpreting test results?
A: Test strategy: A test strategy is a collection of instructions that clarifies test design and…
Q: If you have been given three arguments - the objective of the stolen item, the name of the pet and…
A: 1. Create a Method with 3 arguments2. Initialize the variable 3. Use the below logic const arr=…
Q: What is out put?
A: Output:Output is the value produced on the system based on the input supplied by the user.
Q: Which tag belongs in the blank? Cats
A: Please find the answer below :
Q: Kevin wants to use a Boolean operator to get information on two topics. Which Boolean operator does…
A: To search for the necessary information On two subjects, the AND logical operator is used. In…
Q: what is an example where it will be false?
A: We need to provide an example, when the output is false.
Q: Why is the data type for the ZipCode field CHAR and not SMALLINT or INTEGER? Is the length of the…
A: A zip code basically is the postal code for a region. It is used in databases to keep track of the…
Q: Can prompt method take two input values from user
A: The prompt method creates a dialog box and accepts a value from the user. When the web browser…
Q: Before I deliver my PowerPoint presentation to my professor, please double-check all of my…
A: Introduction: The goal of PowerPoint is to provide visual help to presenters as they proceed through…
Q: How do you create a sequence diagram depicting a debit card purchase at a local retail store?
A: The UML diagram which shows an interaction between objects arranged in a time is a Sequence Diagram…
Q: What do you understand by Execute Reader, Scalerand ExecuteNonQuery methods?Explain with help of…
A: ExecuteReader Method :- Execute Reader used for getting the query results as a Data Reader object.…
Q: When do you need to query the documentation? Why should you query using nonleading questions using…
A:
Q: a. Feature selection can be done through both filter and wrapper method. Which of these methods is…
A: Given: Explain feature selection methods.
Q: I'd like to send in a PowerPoint presentation to have the APA citations and references checked again…
A: In order to display information, PowerPoint, developed by Microsoft, enables users to construct…
Q: A measure is calculated based on the context of the cell? True False
A: A measure is calculated based on the context of the cell
Q: Where does Enqueue(numPQueue, 34) add an item? Select Where does Enqueue(numPQueue, 11) add an item?…
A: At the tail of the queue. enqueue() always adds an element to the end of the queue. Since, here it…
Q: Type the correct answer in the box. Spell all words correctly. Which type of st has an attribute…
A: Answer: <ol> type
Q: Give three Ways a user can be identified via Single Sign On?
A: GIVEN: Give three Ways a user can be identified via Single Sign-On?
Q: An advertisement for a restaurant at an exclusive club in Honolulu says, “Members and nonmembers…
A: Problem Synopsis: A statement regarding an advertisement for a restaurant that is located at an…
Q: How would you find the cover page of the DVWA documentation from kali that is located in…
A: Solution:- Stage 1 How would possibly you have a look at the cover web page of the DVWA…
Q: Kevin wants to utilize a Boolean operator to get information on two separate topics. Which Boolean…
A: The correct answer is given below with an example and explanation
Q: Explain what's wrong with the code below, and also explain how you could fix it.
A: Seq is an object that is a read-only sequence object i.e a string with an alphabet. Sequence objects…
Q: what is CheckedChanged event ?
A: Solution: It is one of the event handler in C#.Net .It is the property of windows form .This…
Q: where is other two option ?
A: The other two options are given below ...
Q: Give some common strategies to consider if you want to write queries that run more efficiently?
A: Given: Give some common strategies to consider if you want to write queries that run more…
Q: When do you use description? When do you use definition? In paragraph, thank you.
A: Answer: With narrative and dialogue as the other two main components, description is crucial to…
Q: Write the validation rule to enter a name starting with S?
A: here have to determine sql validation statement.
Q: When using the SQ3R method, what should a reader be looking for/identifying in the 'S' stage/step?…
A: Given: What should a reader search for/identify in the 'S' stage/step when utilizing the SQ3R…
Q: I'd want to submit a PowerPoint presentation to have the APA citations and references double-checked…
A: PowerPoint's aim is to provide as a visual help when a presenter progresses through their choices,…
Q: Please send Complete answer for getting upvote Detailed answer what is Iterator Design Pattern…
A: iterator design patter their application , Real world code , pros and cons
Q: identifiers
A: Given :- The statements are mention in the above given question associated with programming Need…
Q: Testing in a "BLACK BOX" is exactly what it entails, as the term is often used. What are some of the…
A: Given: The functionality of software applications may be tested using a method known as "black box…
Q: What is the super keyword?
A: They overridden method, which overrides one of its superclass methods, is called using the super…
Q: Given the following scheme, what kind of key is (VIN) (check all that apply)? automobile_scheme =…
A: SUPER KEY CANDIDATE KE A set of one or more attributes which can uniquely identify a row in a table…
Q: What is a value? What are the different types of values?
A: Values are standards or principles against which we judge people, things and situations.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- Object Oriented Programming: 213COMP, 214COMP (Feb-2022) Assignment- I [10 marks] Academic honesty: O Only pdf file accepted & student ID, will be your upload file. O Student who submit copied work will obtain a mark of zero. O Late work or attach file by email message not allowed. Q1: Write the signature for a method that has one parameter of type String, and does not return a value. Q2: Write the signature for a method that has two parameters, both of type Student, and returns an int value. Q3: Write the constructor's headers of the followings? new Student (202101156, “Ahmed"); new Address(51, "jazan university","CS&IT" ); new Grade(true, 505235600, 4.5); Q4: a) Write a class Student that define the following information: name, stid , age. b) Explain a mutators (setters) and accessors(getters) methods for each attributes(fields). c) Add three constructors: • with empty constructor. one parameter constructor (name of student) two parameters constructor (name and stid) d) Create two…Programming exercise (in java eclipse , please add comment for each step)thank you Create a class called "Bird" and do the following: 1)Define two data fields, 2)Define one default constructor 3)Define one constructor that takes two arguments 4) Define one method Inside the main() method, you have to create two objects for the class "Bird" one by using default constructor and another by using the constructor that takes two arguments. Also call the instance method inside the main() method (The class data fields and method should be meaningful clearly representing the entity 'Bird' . Do not define irrelevant data fields and method.)QUESTION 5 Any variable with more than one responsibility should be replaced with multiple variables, therefore, apply the following refactoring?Remove Middle ManSplit VariableExtract ClassMove Field QUESTION 6 which of the following are indicators that you need to apply the Extract class refactoring technique? (choose two) When you have a complex expression in a methodYou have a class that changes in different ways for different reasons (e.g. "three methods change for a new database, while four other methods change for a new financial instrument")When you have a middle manYou have a class that has more than one responsibility QUESTION 7 Which of the following motivates the extract variable refactoring technique?Simplification of complex mathmatical or logical expressionsIncreasing performanceShortening long fucntionsRemoving moddle man
- Overview: A new bank wants to make a simple application to keep track of all accounts and transactions. it is required to help the bank manager implement the required application. Requirements: After a quick meeting with the bank manager, you got the following information: • tis required to store all bank accounts in one collection and all the transactions happened in another collection. Each account has a unique account number, a holder and balance. There is a specific prefix (common for all accounts) that should be added to the holder's civil id to create the unique account number. In addition, it is not allowed for a holder to have more than one account. Furthermore, only three transactions are allowed on any account: deposit, withdrawal and transfer money to another account. • Each holder has a unique civil ID (national id), a name and other attributes (add at least 2 attributes from your choice). • For each transaction, it is required to store the account(s) affected, amount of…Create a class Course to describe a course according to the following requirements: A course has three attributes: courseName, courseCode, fees. Create a constructor without parameters to initialize all the instance variables to default values (0 for numbers and "" for a string). Create a constructor to initialize all the attributes to specific values. Add all setter and getter methods Create a tester class with the main method. The tester class must be named using your first and last In this class performs the following: Create a course object c1 using the default constructor. Create a course object c2 with the following information: courseName =” object oriented programing”, courseCode = “CS230” , fees = a value from your choice. Change the course fees of c2 to your age. Print the course information of c2 using getter methods I attached Typical run of the programQUESTION 1Write a class Complex for complex number system. The class should have 2 fields for real andimaginary part. The class should have two methods:1. One takes 2 complex objects and returns their addition as a new complex object.2. Another takes 2 complex objects and returns their multiplication as a new complex objectNow create driver class with arbitrary values. QUESTION 2Write a class about Aeroplane. Obviously, you will require other helper classes to complementyour aeroplane class. Design your classes yourself. The codes should contain the followingOOP features implemented in these classes:- Class- Object- Encapsulations- accessor/mutator- Method overloading- Objects as parameters- Objects as return type- Objects as fields- Association- Aggression- compositionBeside your code, comment the name of the feature that is implemented
- Create a class of Dog, some of the differences you might have listed out maybe breed, age, size, color, etc. Then create characteristics (breed, age, size, color) can form a data member for your object. Then list out the common behaviors of these dogs like sleep, sit, eat, etc. Design the class dogs with objects and methods.3- Create a class named Player with a default name as "player", a default level as 0, and a default class type of "fighter". Feel free to add any other attributes you wish! Create an instance method in the Player class called attack that takes another player as a parameter. This function should compare the level of the two players, and return whether the player won, lost, or tied. Finally create a loop that allows the user to input a name and a class type for two players; the level of both players should be determined at random (between 1 and 99). Print out the name and attributes of each player, and have the first player attack the second. Print whether the player won, lost, or tied. Ask if the user wants to try again. (Python code)Question: Choose the correct one. Note: Give me all the answers without explanation. 1.It is an instance of the class Select one: a. Method b. Object c. Data member d. Constructor 2.The encapsulation concept means. Select one: a. The class has private constructors and methods b. The data members are public access c. The data members are private access d. you can't access the members of the class even from the class itself 3.char A[]="hahahah"; char* p=&A[0]; *p='na'; p="CII"; cout<<A; the output is. Select one: a. CIIhahahah b. hahahah c. aahahah d. nahahah 4.Let A is char array as follows: char A[]=”hahahah”; the length of A Select one: a. 32 characters b. 7 characters c. 28 characters d. 8 characters 5.class A{int x;}; class B:public A{int y;public: void add(){y=++x;}};to correct the error. Select one: a. We should use protected: in class A b. We should use private: in class A c. We should use protected: in class B d. We should use public: in class B…
- Design a class named CustomerRecord that holds a customer number, name, and address. Include separate methods to 'set' the value for each data field using the parameter being passed. Include separate methods to 'get' the value for each data field, i.e. "return" the field's value. Pseudocode:Can you call a constructor from another constructor? A solution is placed in the "solution" section to help you, but we would suggest you try to solve it on your own first. Problem Statement# A class can have multiple parameterized constructors which can call each other. You are given a partially completed code of a Car class in the editor. Modify the parametrized constructor which assigns parameters to the required fields. Input# carName, carModel, carCapacity Output# carName, carModel, carCapacity Sample Input# "Ferrari", "F8", "100" Sample Output# "Ferrari", "F8", "100" Part of solution // Car class class Car { // Private Fields private String carName; private String carModel; private String carCapacity; // Default Constructor public Car() { this.carName = ""; this.carModel = ""; this.carCapacity = ""; } // Parameterized Constructor 1 public Car(String name, String model) { this.carName = name; this.carModel = model; } // Parameterized Constructor 2 public…Creates a class Student with 3 attributes: name, id and level. a. Add a constructor able to create a Student; b. Add the methods getId and getLevel; c. Add the method display able to display the attributes,