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
Ann [662]
4 years ago
8

Which of the following is an advantage of batch processing?

Computers and Technology
1 answer:
alina1380 [7]4 years ago
8 0

Answer:

it can balance computing resources by time

Explanation:

this this is as it involves multiprogramming

You might be interested in
When measuring processor speed,a megahertz is much faster than a gigahertz.true or fals
Nat2105 [25]

Answer: False

Explanation:

The statement in the question is wrong. When measuring processor speed, a megahertz is slower than a gigahertz.

We should note that:

1 megahertz = 1 million cycles per second

1 gigahertz = 1 billion cycles per second.

Therefore, we can see that a gigahertz is faster than a megahertz.

4 0
3 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
In most languages, if a file does not exist and a program attempts to open it in append mode, what happens?
chubhunter [2.5K]

Answer:

It create a new file in which writing of data begins.

Explanation:

A file can be open in the three mode:

-r (Read mode): open an existing file for the purpose of reading data from it.

-w (write mode): Create a new file for the purpose of writing data to it.

-a (append mode): open an existing file for the purpose of appending extra data to it but if the file does not exist, it create a new file and start writing data to it.

5 0
4 years ago
What is the name of Thompsons computer language?
olchik [2.2K]

Answer:

below

Explanation:

Bon programming language

6 0
3 years ago
Read 2 more answers
Which of the following creates a new table called 'game_scores' with 2 columns 'player_name' and 'player_score'?
DerKrebs [107]

Answer:

e

Explanation:

the valid sql syntax for creating table is

CREATE TABLE table_name (

column_name column_type

)

varchar and int are the valid sql types not string and integer

AS is used in select queries to aggregate results under given name

8 0
3 years ago
Other questions:
  • Direct Mapped Cache. Memory is byte addressable. Fill in the missing fields based upon the properties of a direct-mapped cache.
    6·1 answer
  • In mathematics, the square root of a negative number is not real; in Java therefore, passing such a value to the square root fun
    12·1 answer
  • In India, the adoption of new telecommunication services was ____________ Select one: a. slow b. rapid c. frought with errors d.
    15·1 answer
  • What is the multiple source test
    15·1 answer
  • Why each of the six problem-solving steps is important in developing the best solution for a problem
    11·1 answer
  • People think that they can send email messages from their personal computers and that it cannot be traced. This is called the __
    13·1 answer
  • Which disipline involves creating computer networks
    13·2 answers
  • Vhat is the result when you run the following program?
    6·1 answer
  • To input lenth in meter and convert in to centimeter​
    6·1 answer
  • Why, during the final stage of the multistage model for e-commerce, is comprehensive customer information captured in the suppli
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!