What is the output of the following code?
print (12 // 6)

Answers

Answer 1

Answer:

2

See here we have //// means floor division in python.It gives us only the integer part not floating or decimal.

So

12//6=2


Related Questions

Please help my career is a veterinarian!

4. What path could you take in high school to help prepare you for this career? For example: AP
courses, career and technical education, etc. Which is most appropriate and why?

5. What post-secondary routes (education after high school) could also help you to prepare for
this career? Explain or describe.

Answers

Answer:

1. Search for internships at local businesses or organizations. Choose part-time jobs that allow you to gain experience and help you build skills in your chosen career. Participate in extracurricular activities and take advantage of leadership opportunities. Join clubs that relate to your chosen field.

2. Schooling after high school that includes programs at technical and trade schools, community colleges, and four-year colleges.

Manufactured baseboard heating units are part of which industry?
O Electronics
Machinery
O Metal products
O Transportation equipment

Answers

Answer:

!The answer is Machinery!

Explanation:

Hope This Helps!

Manufactured baseboard heating units are part of machinery industry, the correct option is B.

What is machinery industry?

The machine industry is a subsector of the industry that produces a wide range of products such as power tools, various types of machines, domestic technology, factory equipment, and so on.

The manufacturing sector includes the machinery manufacturing subsector.

Machinery Manufacturing industries produce end products that use mechanical force to perform work, such as the use of gears and levers.

Machine products include power saws, drills, hand tools, metal-working machines, polishing machines, presses, boilers, industrial ovens, and industrial scales, among others.

The machinery industry includes manufactured baseboard heating units.

Thus, the correct option is B.

For more details regarding industries, visit:

https://brainly.com/question/7721379

#SPJ5

4. Suppose you replace the hard disk in the previous question with an optical drive like a DVD drive. The drive you use has an average access time of 185ms and can-do sustained reads at 1600 Kbytes per second. How long will it take, including access time, to read the same 750 Kbytes off this optical disk (again, assuming all the data is in sequential sectors on same track)

Answers

The total time it will take to read the same 750 Kbytes off the optical disk is 653.75 ms

Considering the parameters given in the question, the total time taken to read the same drive is the addition of the average access time together with the time to transfer the data.

Mathematically;

Total Time taken = Access time (avg.) + data transfer time

where;

access time(avg.) = 185 ms

the data transfer time can be estimated by using the formula:

= required quantity of data transferred/ speed of data transfer

= 750 kbytes ÷ 1600 Kbytes/s

= 0.46875  s

= 468.75 ms

Total Time taken = 185 ms + 468.75 ms

= 653.75 ms

Learn more about data transfer time here:

https://brainly.com/question/9381456?referrer=searchResults

C++ pleaseProblemIn the IDE to the left, the class MP3 is already defined. Complete the class Podcast that inherits from MP3. This class should do the following things:Inherit the constructor such that Podcast has the following attributes:title - a string that is the title of the episodelength - an integer that has the length of the podcast in secondsgenre - a string that is the genre of the podcastname - a string that is the name of the podcastdate - a string that represents when the podcast was released to the publicDO NOT EDIT the specified code or you might not receive credit for your work!Hint: Connecting the ConstructorsNote that a few of the attributes are present in both the MP3 and Podcast classes. To connect their constructors, you can use the same parameter values for the attributes that are the same, then use different parameter values for the attributes that are different. Finally, set the attributes to the parameters appropriately for the ones that are different. For example:Podcast(string t, int l, string g, string n, string d) : MP3(t, l, g, n, d) { name = n; date = d;}Given Code#include using namespace std;//DO NOT EDIT code below this lineclass MP3 { public: MP3(string t, int l, string g, string al, string ar) { title = t; album = al; length = l; genre = g; artist = ar; } string GetTitle() { return title; } void SetTitle(string new_title) { title = new_title; } int GetLength() { return length; } void SetLength(int new_length) { length = new_length; } string GetGenre() { return genre; } void SetGenre(string new_genre) { genre = new_genre; } string GetAlbum() { return album; } void SetAlbum(string new_album) { album = new_album; } string GetArtist() { return artist; } void SetArtist(string new_artist) { artist = new_artist; } private: string title; int length; string genre; string album; string artist;};

Answers

Answer:

brow srri i got no clue

Explanation:

Does anyone have the answer for the project stem 6.4 code practice

Answers

Answer:

#This imports the simplegui module

import simplegui

#This defines the draw_handler function

def draw_handler(canvas):

  #The next five lines draws the boundaries of the polygon, in white

  canvas.draw_polygon([(300, 400), (550, 400), (550, 550), (300, 550)], 2, "White")

  canvas.draw_polygon([(275, 400), (425, 300), (575, 400)], 2, "White")

  canvas.draw_polygon([(400, 475), (400, 550), (450, 550), (450, 475)], 2, "White")

  canvas.draw_polygon([(325, 450), (325, 500), (375, 500), (375, 450)], 4, "White")

  canvas.draw_polygon([(525, 450), (525, 500), (475, 500), (475, 450)], 4, "White")

#The main method begins here

#This creates the frame of the polygon

frame = simplegui.create_frame('House', 600, 600)

#This sets the background as black

frame.set_canvas_background("Black")

#This calls the draw_handler method

frame.set_draw_handler(draw_handler)

#This starts the frame

frame.start()

Explanation:

works for question 1 and 2! your welcome

Select the correct text in the passage.
Identify the value contrast in the description of the image.
Melissa is designing an image about wildlife. In one of the pictures, she places images of a zebra, a lion, a few deer, and some crawling insects.
She creates a dry, earth-colored background for the image. Lastly, she adds a few birds flying across the sky to complete the wildlife image.

Answers

Answer:

a dry, earth colored backround

Explanation:

The definition of value contrast is the the difference between light and dark and the areas in between

..........................................

Answers

Answer:

nice

Explanation:

Answer:

*gasp* OBJ?! I'm honored.

what we can't do in MS Paint?​

Answers

Answer:

I don't know what you can't do but I know you can:

- Create a Gradient Color Effect

- Undo/Redo

- Transparent Background Selection

During the maintenance phase of the software development life cycle, the team may decide to start the SDLC cycle over if: a.an employees leaves the organization b.the system is running smoothly c.assessing the system would be time-consuming d.the system is not working correctly

Answers

if the system is not working as expected during the maintenance stage, the  Software Development Life Cycle   is started afresh.

The SDLC cycle known as the Software Development Life Cycle   explains how software is built or developed in steps from imagination to completion and delivery.  

The steps are

planning designingimplementingtestingdeployingmaintenance

The maintenance phase is the stage of "checks and  balances" so to speak. Here, after the software is set to operation, Software fixes, upgrades, repairs and monitoring can then be carried out,  if for instance, the system is not working correctly, then the SDLC cycle can be repeated to cancel the defect in the course of production.

See more on the SDLC cycle: https://brainly.com/question/14419177

9.1 a. What is a device register? b. What is a device data register? c. What is a device status register?

Answers

(a) A device register is a register (or memory location) that is used for data transfer

to/from an input/output device. It provides a means of communication between the

processor and the input/output device. The processor can poll this register to find out

whether it has received an input or it can send an output from/to the specific device that the device register belongs to. In memory mapped I/O device registers are dedicated memory locations for each I/O device. There may be more than one device register (dedicated memory location) for one device.

(b) A device data register is a device register (a dedicated memory location in

memorymapped I/O) that holds the data that is to be input/output.

(c) A device status register is a device register (a dedicated memory location in

memorymapped I/O) that indicates the status of the input/output. It allows for the

processor to know whether or not input/output of the value in the device data register has occurred. Basically it is an important step to achieve synchronization in an asynchronous I/O system.

A ) Registered Devices means the MAC Address of a network interface on a Compatible Device in the name of the Customer registered (in a manner as ASK4 shall from time to time determine) to receive the Service and/or an Additional Service.

b) A device data register is a device register (a dedicated memory location in memorymapped I/O) that holds the data that is to be input/output. (c) A device status register is a device register (a dedicated memory location in memorymapped I/O) that indicates the status of the input/output.

(c) A device status register is a device register (a dedicated memory location in memorymapped I/O) that indicates the status of the input/output. It allows for the processor to know whether or not input/output of the value in the device data register has occurred.

What is the purpose of using status register?

The status register lets an instruction take action contingent on the outcome of a previous instruction. Typically, flags in the status register are modified as effects of arithmetic and bit manipulation operations. For example, a Z bit may be set if the result of the operation is zero and cleared if it is nonzero.

To learn more about The status register, refer

https://brainly.com/question/24209220

#SPJ2

what is another name that is used to refer to Flash Memory??​

Answers

Answer:  A very small, portable, solid-state hard drive that can be inserted into a USB port for storage and retrieval of data. Also Trademark, ThumbDrive, JumpDrive . Also called flash memory drive, thumb drive, USB drive.

Answer:

A USB Drive

Explanation:

There pretty cheap, if your looking for one I highly recommend finding one at micro center!

27. The device name I dev/ hda3 refers to: a. the third partition on the first IDE hard disk b. the third partition on the first SCSI hard disk c. the third IDE hard disk d. the swap partition stored on a boot disk

Answers

c.the third IDE hard disk

How does the technology affect you daily living? Give situations where you use technology and how it helped you.​

Answers

Answer:

Technology affects the way individuals communicate, learn, and think. It helps society and determines how people interact with each other on a daily basis. Technology plays an important role in society today. It has positive and negative effects on the world and it impacts daily lives. We are living in an era where technological advances are common. The internet and cell phones are some examples. However, with technological advances, there’s a downside to it all.

What is the stdio.h header file ?​

Answers

Sorry I’m confused wdym?

4.(L.5.1.A) Select the sentence that includes an interjection,
Did we win the tournament?
ОО
Hurray, we won the tournament!
Although we arrived late to the tournament, we still won.
We arrived late to the tournament, but we still ended up winning

Answers

Answer:

Hurray, we won the tournament!

Explanation:

hurray is an interjection just like yikes, uh-oh, and others

Which wireless probe is designed to scan and record wireless signals within its range at regular intervals and report the information to a centralized database

Answers

Wireless probe are often referred to as a device that is said to monitor the airwaves for RF traffic. A standard wireless device is designed to scan and record wireless signals within its range at regular intervals and report the information to a centralized database

Wireless device probe consist of a standard wireless device, such as a portable laptop computer which at regular intervals, during the normal course of operation, can scan and record wireless signals.

Desktop probe are also known as a standard desktop PC that often uses a universal serial bus (USB) wireless network interface card adapter to monitor the RF frequency.

Dedicated probe are made to monitor the RF frequency for transmissions.

Learn more from

https://brainly.com/question/14329343

In a FOR loop, if you declare a variable in the initializer, it exists only inside of the FOR loop.

Question 3 options:
True
False

Answers

Answer:

True

Explanation:

If you declare a variable in the initializer, it is local to the loop

In a FOR loop, if you declare a variable in the initializer, it exists only inside of the FOR loop is a true statement.

Can you declare a variable on a for loop?

It is often seen that variable which acts in control of a  for loop is required only for the aim of the loop and it cannot be used in another.

Conclusively, it is therefore likely to state  the variable inside the initialization part of the for loop.

Learn more about loop from

https://brainly.com/question/26568485

PLEASE HELP!
The principle behind _____ is moving parts of the image in one direction or another by shifting its pixels.

A.
licenses

B.
colorimeters

C.
watermarks

D.
filters

Answers

D. Filters

I know because I guessed watermarks (not sure why) and got it wrong

The principle behind filters is moving parts of the image in one direction or another by shifting its pixels.

What is Photography?

This refers to the use of lenses to capture images of still objects or other types of images.

With this in mind, we can see that when editing a photograph, there is the use of filters to add some extra effects on the image and this is done by moving parts of the image in one direction or another by shifting its pixels.

Read more about photography here:
https://brainly.com/question/25821700

what is the meaning of s used in 0 and 1 in computer .​

Answers

Answer:

A switch, unless it's busted, can be either on or off, closed or open. A switch that is “on” or “closed” passes electrical signal through it, while a switch that is “off” or “open” blocks that signal. Computer Scientists represent an “on” switch with a 1 and an “off” switch with a 0.

Explanation:

China's cultural diversity, China is composed of 56 ethnic groups.

Answers

Answer:

Indeed that is the correct answer

Explanation:

someone help me

Write a C++ program that display a checkerboard pattern made of stars and blanks, as shown below. A checkerboard is eight squares by eight squares. This will be easier if you first declare two named string constants representing the two different row patterns. Be sure to include appropriate comment in your code, choose meaningful identifiers, and use indentation as do the programs.

Answers

The program is an illustration of loops.

Loops are used to perform repetitive and iterative operations.

The program in C++ where comments are used to explain each line is as follows:

#include <iostream>

using namespace std;

int main(){

   //This declares and initializes all variables

   string star = "*", blank = " ", temp;

   //The following iteration is repeated 8 times

   for (int i = 1; i <= 8; i++) {

       //The following iteration is repeated 8 times

       for (int j = 1; j <= 8; j++) {

           //This prints stars

           if (j % 2 != 0) {

               cout << star;

           }

           //This prints blanks

           else if (j % 2 == 0) {

               cout << blank;

           }

       }

       //This swaps the stars and the blanks

       temp = star;

       star = blank;

       blank = temp;

       //This prints a new line

       cout << endl;

   }

}

Read more about similar programs at:

https://brainly.com/question/16240864

How are most gamepads installed on devices?

Answers

Answer:

Plug and Play

Explanation:

most modern game pads are you just need to plug into a port and then you are free to use without any setting up.

Create a plot of monthly averaged max and min temperature (columns TMAX and TMIN). That is each January in the record will be included in the 'Jan' average, and so on for each month, so that there are twelve values in the final calculation. Label the months with 'Jan', 'Feb', 'Mar' and so on, instead of numbers. Make sure you have a legend that identifies each line, a label on the y-axis that states the quantity and units, and a title that explans the calculation.

Answers

Answer:

robuk plssss

Explanation:

5 plss just 5 1=2

Which term describes the process of training a machine to do simple, repetitive tasks, and adapt or correct its performance based on changing conditions at speed and scale?

Answers

The term which describes the process of training a machine to do simple, repetitive tasks, and adapt or correct its performance based on changing conditions at speed and scale is: Intelligent automation.

An intelligent automation is also referred to as cognitive automation and it can be defined as a combination of two automation technologies such as:

Artificial intelligence (AI).Robotic process automation.

Basically, intelligent automation involves the use of both artificial intelligence (AI) and robotic process automation to build a smart computer-controlled robot or machine that is capable of performing and handling simple, repetitive tasks, while adapting or correcting its performance based on changing conditions at a particular speed and scale.

Read more: https://brainly.com/question/21656851

Answer:

Don't look at this answer bubble! Give the answer bubble above me the credit he deserves!

Explanation:

Discuss at least 1 Miscrosoft Windows security features that could protect data.

Answers

Answer:

Virus & threat protection.

Explanation:

Monitor threats to your device, run scans, and get updates to help detect the latest threats.

Answer:

User account control.

Explanation:

prevents malware damage. Helps organizations deploy a better-managed desktop.

Draw a use case diagram based on the info above

Answers

Answer:

(See attached file)

Explanation:

Actors: Adult, Publisher, Agent, Editor

Description:

Compilation of Magazine is done by the editor.

Publisher is responsible for publishing the Magazine.

Agent sells the published Magazine.

Adult buys and reads the Magazine.

A trial-and-error method of problem solving used when an algorithmic or mathematical approach is called

Answers

A trial-and-error method of problem solving used when an algorithmic or mathematical approach is called: heuristics.

An algorithm can be defined as a standard formula (procedures) which comprises a set of finite steps or instructions, that is typically used for solving a problem on a computer.

The three (3) basic building blocks (constructs) used in an algorithm are:

Iteration.Sequence.Selection.

Heuristics can be defined as a trial-and-error method used in solving a problem when an algorithmic or mathematical approach is not feasible or practical.

Hence, heuristics typically involves the use of a functional methodology that is not completely structured as an algorithmic or mathematical approach, when solving a problem.

Read more: https://brainly.com/question/25395113

- JAVA - Okay I have been attempting this for the past hour and I am really stuck and keep getting an error... The error says that I keep missing a main thread but its there... help!
Given a main program that searches for the ID or the name of a student from a text file, complete the findID() and the findName() methods that return the corresponding information of a student. Then, insert a try/catch statement in main() to catch any exceptions thrown by findID() or findName(), and output the exception message. Each line in the text file contains the name and the ID of a student, separated by a space.
Method findID() takes two parameters, a student's name and a Scanner object containing the text file's contents. Method findID() returns the ID associated with the student's name if the name is in the file, otherwise the method throws an Exception object with the message "Student ID not found for studentName", where studentName is the name of the student.
Method findName() takes two parameters, a student's ID and a Scanner object containing the text file's contents. Method findName() returns the name associated with the student's ID if the ID is in the file, otherwise the method throws an Exception object with the message "Student name not found for studentID", where studentID is the ID of the student.
The main program takes three inputs from a user: the name of a text file (String), a user choice of finding the ID or the name of a student (int), and the ID or the name of a student (String). If the user choice is 0, findID() is invoked with the student's name as one of the arguments. If the user choice is 1, findName() is invoked with the student's ID as one of the arguments. The main program finally outputs the result of the search or a message if an exception is caught.
Ex: If the input of the program is:
roster.txt 0 Reagan
and the contents of roster.txt are:

Reagan rebradshaw835
Ryley rbarber894
Peyton pstott885
Tyrese tmayo945
Caius ccharlton329
the output of the program is:

rebradshaw835
Ex: If the input of the program is:

roster.txt 0 Mcauley
the program outputs an exception message:

Student ID not found for Mcauley
Ex: If the input of the program is:

roster.txt 1 rebradshaw835
the output of the program is:

Reagan
Ex: If the input of the program is:

roster.txt 1 mpreston272
the program outputs an exception message:

Student name not found for mpreston272
import java.util.Scanner;
import java.io.FileInputStream;
import java.io.IOException;

public class LabProgram {

public static String findID(String studentName, Scanner infoScnr) throws Exception {

/* Type your code here. */

}

public static String findName(String studentID, Scanner infoScnr) throws Exception {

/* Type your code here. */

}

public static void main(String[] args) throws IOException {
Scanner scnr = new Scanner(System.in);
String studentName;
String studentID;
String studentInfoFileName;
FileInputStream studentInfoStream = null;
Scanner studentInfoScanner = null;

// Read the text file name from user
studentInfoFileName = scnr.next();

// Open the text file
studentInfoStream = new FileInputStream(studentInfoFileName);
studentInfoScanner = new Scanner(studentInfoStream);

// Read search option from user. 0: findID(), 1: findName()
int userChoice = scnr.nextInt();

// FIXME: findID() and findName() may throw an Exception.
// Insert a try/catch statement to catch the exception and output the exception message.

if (userChoice == 0) {
studentName = scnr.next();
studentID = findID(studentName, studentInfoScanner);
System.out.println(studentID);
}
else {
studentID = scnr.next();
studentName = findName(studentID, studentInfoScanner);
System.out.println(studentName);
}

studentInfoStream.close();
}
}

Answers

Answer:

import java.util.Scanner;

import java.io.FileInputStream;

import java.io.IOException;

public class LabProgram {

 public static String findID(String studentName, Scanner infoScnr) throws Exception {

   while (infoScnr.hasNextLine()) {

     String[] parts = infoScnr.nextLine().split(" ");

     if (parts[0].trim().equals(studentName)) {

       return parts[1].trim();

     }

   }

   throw new Exception("Student ID not found for " + studentName);

 }

 public static String findName(String studentID, Scanner infoScnr) throws Exception {

   while (infoScnr.hasNextLine()) {

     String[] parts = infoScnr.nextLine().split(" ");

     if (parts[1].trim().equals(studentID)) {

       return parts[0].trim();

     }

   }

   throw new Exception("Student ID not found for " + studentID);

 }

 public static void main(String[] args) throws IOException {

   Scanner scnr = new Scanner(System.in);

   String studentName;

   String studentID;

   String studentInfoFileName;

   FileInputStream studentInfoStream = null;

   Scanner studentInfoScanner = null;

   // Read the text file name from user

   studentInfoFileName = scnr.next();

   // Open the text file

   studentInfoStream = new FileInputStream(studentInfoFileName);

   studentInfoScanner = new Scanner(studentInfoStream);

   // Read search option from user. 0: findID(), 1: findName()

   int userChoice = scnr.nextInt();

   try {

     if (userChoice == 0) {

       studentName = scnr.next();

       studentID = findID(studentName, studentInfoScanner);

       System.out.println(studentID);

     } else {

       studentID = scnr.next();

       studentName = findName(studentID, studentInfoScanner);

       System.out.println(studentName);

     }

   } catch (Exception ex) {

     System.out.println(ex.getMessage());

   }

   scnr.close();

   studentInfoStream.close();

 }

}

Explanation:

- You should call your file the same as your class (i.e., LabProgram.java)

- I added a try/catch to both find calls, to catch the exception

- The find methods are very similar, they loop through the lines of the roster, splitting each line at a space and doing string comparison.

tên trong pascal gồm những thành phần nào?

Answers

Explanation:

Pascal phân biệt ba loại tên: + Tên dành riêng: là tên được ngôn ngữ lập trình quy định dung với ý nghĩa riêng xác định. người lập trình không được sử dụng với ý nghĩa khác. Ví dụ (Trong pascal): program, uses, const, type, var, begin, end.

Enter the decimal equivalent of the exponent of the following floating point binary number.

0 00000101 1.00100000000000000000000


Decimal exponent:

Answers

Answer:

11.125

Explanation:

       The binary numeral system uses the number 2 as its base (radix). As a base-2 numeral system, it consists of only two numbers which are 0 and 1. In order to convert binary to decimal, basic knowledge on how to read a binary number might help. As I cannot share links over Brainly I won't be able to give resources, but usually a simple search will bring up videos / websites that will help!

Hopefully this is correct, have a nice day! :D

Other Questions
Jade got a 90% on her math quiz. She had 36 questions correct. How many questions did Jade get wrong? what number should come next ?2,2,5,13,28 ........do not predict numbers like 0 or 1000000 ABC has coordinates A(3,-5) B(7, 1) and C(3, 1). Classify the triangle basedon its side lengths and angle measures. Select all that apply.A) AcuteB) Right C) Obtuse D) EquilateralE) Isosceles F) Scalene If one leg of a right triangle has a length of 7 and the hypotenuse has a length of 12, what is the length of the other leg?A19BV193195D5 Can someone please help me out? Given the function y = 3 ( 0.60 )^x what is the rate of growth/decay? What are the events unique to Mitosis? Higher Order Thinking The city acquired more land nextto the subdivision. If it decides to make each park 12.5 acres,how many additional acres would the parks occupy? A computer ____ risk is any event or action that could cause a loss of or damage to computer hardware, software, data, information, or processing capability. can you give me a 2 paragraph essay explaining Aztec priests and their role within the religion? The paragraphs should have at least 3 sentences, and no more than 7. NEED IT FAST PLZLook at the two equations: ( look at picture is you don't understand)-3x + 6 = 21-3x + 6 < 21 Which statement best describes the process used to solve the equations?A.) In both cases, subtract 6 from both sides, but reverse the inequality sign when doing that for the inequality.B.) In both cases, divide by -3 on both sides, but reverse the inequality sign when doing that for the inequality.C.) The process is exactly the same for solving the equation and solving the inequality. D.)The process for solving the equation is entirely different from solving the inequality. Q1: Calculate the diameter of a copper conductor 300 m long such that it may carry 500 A with a voltage drop of 8 V. The resistivity of the copper may be taken as 0.019 m. 2. John Glenn was the first American in space.Which of the following is not a question you would ask to locate a complement?A. Who?B. What?C. Whom?D. Where? Whats the labels in the boxes The ARU allowed what kind of workers tojoin?A. FactoryB. EducationC. RailroadD. Agriculture Write equations for the vertical and horizontal lines passing through the point (-6, 6) Why do you think Oklahoma's founders decided to highlight different purposes of government Pls help me with this,Use (can - could)(Cant- couldnt) What is audit evidence?A. Financial statements of the enterpriseB. Information and documents collected by the auditor during the auditC. Any evidence of corporate fraudD. Answers a and c are correct Read the excerpt from "Acres of Diamonds," a speech given by Russell H. Conwell at a graduation ceremony at Temple University. Then answer the question. ( Question 1: What is the speaker's purpose and viewpoint in " Acres of Diamonds "? How does the speaker use rhetoric to advance his purpose and clearly convey his viewpoint? Use evidence from the text to support your response. Your response should be one or two complete paragraphs. ( Please Do Not use another students answer from brainly or any other websites to use for my answer). Will Mark Brainliest . ( You'll Have To Expand The Picture To Read The Passage).