1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Katena32 [7]
3 years ago
5

What Word features allow you to copy multiple paragraph formatting syles

Computers and Technology
1 answer:
PSYCHO15rus [73]3 years ago
5 0
Format painter allows us to copy multiple fomatting styles at the same time from within a word document
You might be interested in
URGENT!! Which graphic design tools help you draw circles and rectangles?
laila [671]

B. Geometric shape tools

This is because circles and rectangles are geometric shapes.

6 0
3 years ago
Read 2 more answers
Who do we make games for?(single term)
Ket [755]

Answer:

Gamers

Explanation:

5 0
3 years ago
Read 2 more answers
What controls can be found on the File tab of Microsoft PowerPoint? Check all that apply. Help Print Track Open Insert Save
Sophie [7]

Answer:

Help

Print

Open

Save

Explanation:

5 0
2 years ago
What are the differences between tkinter toolkit and PyQt?
lesantik [10]

Answer:

See the explanation  

Explanation:

tkinter toolkit                                            

  • Easy to use
  • Easy to learn
  • Easy to debug
  • Good for simple tasks
  • TkInter applications are simpler as compared to PyQt because it is included in standard Python distribution.
  • Faster than PyQt.
  • Does not have advanced widgets.
  • No interface builder available.
  • Free for commercial utilization.

PyQt

  • More flexible in terms of coding.
  • Harder to debug as compared to tkinter
  • GUI is clearer in display than tkinter
  • Widgets are more interactive than that of tkinter
  • size of a PyQt program is larger than that of tkinter
  • uses a variety of paltform APIs and gives primary access to these APIs through a unique API.
  • Has an interface builder that allows to design interfaces without writing any code.
  • Has modern widgets.
  • Due to its vast interface and several UI components it is a bit confusing to learn as compared to tkinter.
  • Commercial license is required to release the code.
  • Cross-platform and native GUI.

Widgets are GUI components such as buttons, labels, menus.

a) Label

This is a tkinter widget to show the text or image on the screen. It looks like a display box. The user can easily edit or update label.

For example to display a label with text "Hello World" the following chunk of code is used:

import tkinter

widget = tkinter.Tk()

label =tkinter.Label(widget, text="Hello World")

label.pack()

tkinter.mainloop()

b) Entry

This is a tkinter widget to accept the text input from user. For example if you want to get a single line text from user then you can use Entry widget. The code below displays an entry widget with the message: Enter input text: Here the user can input the text.

import tkinter

widget = tkinter.Tk()

entry = tkinter.Entry(widget)

entry.insert(0, "Enter input text:")

entry.pack()

tkinter.mainloop()

c) Button

This is a tkinter widget to add a button in an application. You can enter some text or an image in this button convey its purpose. When you click on the button a function is called or an event is emitted.

The following chunk of code displays a button with the text "Click Me" on the button.

import tkinter

widget = tkinter.Tk()

button = tkinter.Button(widget, text="Click Me")

button.pack()

tkinter.mainloop()

d) Frame

This is a tkinter widget to group together and organize other widgets and arranges their position.

The following chunk of code displays an outer frame with a label with text "parent label" and an inner frame with a label of text "child frame".

import tkinter

widget = tkinter.Tk()

frame = tkinter.LabelFrame(widget,text="parent frame")  

label= tkinter.Label(frame,text="child frame")

frame.pack(padx=10, pady=10)

label.pack()

tkinter.mainloop()

5 0
3 years ago
The programming projects of Chapter 4 discussed a Card class that represents a standard playing card. Create a class called Deck
RideAnS [48]

Answer:

Check the explanation

Explanation:

====================Card.java====================

package card_game;

public class Card {

public final static int ACE = 1;

public final static int TWO = 2;

public final static int THREE = 3;

public final static int FOUR = 4;

public final static int FIVE = 5;

public final static int SIX = 6;

public final static int SEVEN = 7;

public final static int EIGHT = 8;

public final static int NINE = 9;

public final static int TEN = 10;

public final static int JACK = 11;

public final static int QUEEN = 12;

public final static int KING = 13;

public final static int CLUBS = 1;

public final static int DIAMONDS = 2;

public final static int HEARTS = 3;

public final static int SPADES = 4;

private final static int NUM_FACES = 13;

private final static int NUM_SUITS = 4;

private int face, suit;

private String faceName, suitName;

// -----------------------------------------------------------------

// Creates a random card.

// -----------------------------------------------------------------

public Card() {

face = (int) (Math.random() * NUM_FACES) + 1;

setFaceName();

suit = (int) (Math.random() * NUM_SUITS) + 1;

setSuitName();

}

// -----------------------------------------------------------------

// Creates a card of the specified suit and face value.

// -----------------------------------------------------------------

public Card(int faceValue, int suitValue) {

face = faceValue;

setFaceName();

suit = suitValue;

setSuitName();

}

// -----------------------------------------------------------------

// Sets the string representation of the face using its stored

// numeric value.

// -----------------------------------------------------------------

private void setFaceName() {

switch (face) {

case ACE:

faceName = "Ace";

break;

case TWO:

faceName = "Two";

break;

case THREE:

faceName = "Three";

break;

case FOUR:

faceName = "Four";

break;

case FIVE:

faceName = "Five";

break;

case SIX:

faceName = "Six";

break;

case SEVEN:

faceName = "Seven";

break;

case EIGHT:

faceName = "Eight";

break;

case NINE:

faceName = "Nine";

break;

case TEN:

faceName = "Ten";

break;

case JACK:

faceName = "Jack";

break;

case QUEEN:

faceName = "Queen";

break;

case KING:

faceName = "King";

break;

}

}

// -----------------------------------------------------------------

// Sets the string representation of the suit using its stored

// numeric value.

// -----------------------------------------------------------------

private void setSuitName() {

switch (suit) {

case CLUBS:

suitName = "Clubs";

break;

case DIAMONDS:

suitName = "Diamonds";

break;

case HEARTS:

suitName = "Hearts";

break;

case SPADES:

suitName = "Spades";

break;

}

}

// -----------------------------------------------------------------

// Determines if this card is higher than the parameter. The

// second parameter determines if aces should be considered high

// (beats a King) or low (lowest of all faces). Uses the suit

// if both cards have the same face.

// -----------------------------------------------------------------

public boolean isHigherThan(Card card2, boolean aceHigh) {

boolean result = false;

if (face == card2.getFace()) {

if (suit > card2.getSuit())

result = true;

}

else {

if (aceHigh && face == ACE)

result = true;

else if (face > card2.getFace())

result = true;

}

}

=========================Sample output=======================

3 0
4 years ago
Other questions:
  • The command prompt found on windows 10 is very similar to the interface of what past operating system?
    5·2 answers
  • How many inputs are included in the following requirement? REQUIREMENT: Write a program that asks the employee for their age. Th
    6·1 answer
  • Which of these is NOT a reason why you would print handouts of your presentation?
    14·1 answer
  • You need to transmit PII via email and you want to maintain its confidentiality. Which of the following choices is the BEST solu
    8·1 answer
  • Which quality allows programmers to modify a program as and when required
    11·2 answers
  • Write a C++ program that would take 10 integers and outputs mean, median, and range. Create at least three functions: one for so
    7·1 answer
  • Which of the following is not considered a system component that can be found inside a computer? A-CPU B-RAM C-PCIe graphics ada
    6·1 answer
  • Where can I watch all harry potter movies for free?
    7·1 answer
  • Networks and the interconnectivity of media have affected our society in that:
    13·2 answers
  • Jak sie pisze oł na klawiaturze komputerowej
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!