Answer and Explanation:
top level class can not be declare as private or protected. It is always public. If we declare a top level class as private then the compiler always complain that the private is not allowed and if we declare top level class as protected then compiler complain that modifier protection is not allowed here. so we can not declare top level class as private or protected
Answer:
Explanation:
The program in this code is written correctly and has the messages applied in the code. Therefore, the only thing that would need to be done is pass the correct integers in the code. If you pass the integer 100 contestants for last year and 300 for current year. Then these inputs will provide the following output as requested in the question.
The competition is more than twice as big this year!
This is because the current year would be greater than double last years (100 * 2 = 200)
Answer:
(Answers may vary.)
My Considerations
The Go Green Club has a total of 100 members. I plan to photograph each of them in front of our club's "Go Green" sign. I have a deadline of 30 days to deliver the ID cards. Therefore, I have to ensure that all the cards are printed and ready for delivery in 20 days, with 10 days of buffer time (in case the cards require any edits or changes). Additionally, after I have submitted the draft for review, I will need the coordinator's final approval on the design and layout of the ID card.
Hardware Requirements
- a desktop computer or laptop with adequate memory to run the software to create the ID cards
- some external storage devices, such as pen drives and DVD disks, to share the design and layout for the coordinator to review; I will also need these devices to store the final digital file for print
- a color scanner to scan hand-drawn artwork and signatures, which I will place on the ID card
- a digital camera to capture photos of members, and to transfer them to the computer/laptop
- a printer to make hard copies of the cards.
- Software Requirements
I intend to use Scribus to create the ID cards because it is a free DTP application, and has most of the common features I'd need to create an ID card.
Formatting Techniques
- I plan to use the following techniques to design the club ID cards.
- I'll use the landscape or horizontal orientation. This will enable proper spacing for the ID card elements.
- I'm planning to use a card measuring 3.370 inches × 2.125 inches. A card this size will ensure that all the elements of the card are visible.
- I am planning to place the club logo on the top left corner, because the eye normally follows the path of the letter Z. This'll help the viewer to see the logo and identify/recognize the club.
- Next I'll place the club name; I'll use the top-center alignment and also vertically align it to the logo. I'll use the sans serif font for the club name.
- Following the Z-path rule, I'll place the member's photo to the right and the member's name under the photo. In this position, the photo and the name will be visible, and will not get mixed up with other elements. I'll print the member name with a serif font.
- Finally, again in line with the Z-path rule, I'll position the club seal and the club director's signature at the right lower bottom. Although these elements are essential on an ID card, they do not require as much viewer attention as the club logo, name, and member photo.
Explanation:
I used Canva for this card.
Answer:
the consecutive two elements and swap them based on the value which is larger if we go for ascending order
Explanation:
bubble sort compares 2 consecutive elements of the list and swap them. in one iteration one value will be placed correctly depending on the sorting order either ascending or descending
Answer:
RAM
ROM
PROCESSOR
MOTHER BOARD
HARD DISK
Explanation:
Random access memory or RAM store data temporary
Read only memory or ROM permanently store data and have a programming needed to start (PCs) or other electronic device
CPU or processor refers to brain of computer
Mother board the main internal hardware component of system unit
Hard disk is electro mechanical data storage