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
sasho [114]
3 years ago
14

Objects have methods and properties. what are methods and properties?

Computers and Technology
1 answer:
son4ous [18]3 years ago
3 0

Methods are bits of code, which can be executed. They define the behaviour of the object. Properties are bits of data, contained within the object, they define the state of the object.

You might be interested in
A ____ is a software program written to change the behavior of a computer or other device on a network, without the permission o
Tems11 [23]
Security filter app that filters the accessibility of things it deems inappropriate
5 0
4 years ago
#Write a function called "scramble" that accepts a string #as an argument and returns a new string. The new string #should start
mojhsa [17]

Answer:

def scramble(s):

   if len(s) % 2 == 1:

       index = int(len(s)//2)

   else:

       index = int(len(s)/2)

   

   return s[index:] + s[:index]

Explanation:

Create a function called scramble that takes one parameter, s

Check the length of the s using len function. If the length is odd, set the index as the floor of the length/2. Otherwise, set the index as length/2. Use index value to slice the s as two halves

Return the second half of the s and the second half of the s using slice notation (s[index:] represents the characters from half of the s to the end, s[:index] represents the characters from begining to the half of the s)

8 0
4 years ago
If you have long column labels with columns so wide that they affect the readability of a worksheet, you should first
Alla [95]
The answer is (C) consider how you could shorten the column labels.

The label at the top of a column is sometimes wider than the data stored in the column. Expanding a column is an option but this may mean that you will not see as many columns on a page as possible. Wrapping text is also an option but has a downside to it as well since it will make the row with great height. 

Rotating the labels is also a possibility but is also not recommended. This leaves us with shortening the column labels and keep dictionary worksheet for users. As much as you can, consider using acronyms and abbreviations.






6 0
3 years ago
Read 2 more answers
In windows vista, which process allows you to display two documents side by side?
Semmy [17]
By dragging one tab the the top right corner and holding for a few seconds it will automatically take up a certain proportion of the screen. By doing the same to the left side, the documents will be side by side and ready to multi-task with ease. This process is called "splitting screens".
7 0
3 years ago
Read 2 more answers
The following program declares an array of char named as myString There are 6 following cases (a, b, c, d, e, f) to access myStr
yuradex [85]

Answer:

See explaination

Explanation:

a.

myString is "Hello the world"

b.

prints "15"

c.

This is invalid.

We have to use strcpy_s to copy strings

FIX:

strcpy_s(s,"Marylane");

d.

reading string upto length 80 from the user and stored it in myString variable

e.

prints the string enetered by user to console

f.

replacing 7th character by 't'

3 0
3 years ago
Other questions:
  • You work for a large enterprise company that handles time-sensitive information. Your supervisor has asked that you set up a con
    8·1 answer
  • Find the gear ratio of the gear in the picture. <br><br> 25 points+brainliest
    13·1 answer
  • Is a storyboard an example of an implemation tool?
    12·2 answers
  • What are the answers to everfi
    5·1 answer
  • What is an online reputation?
    12·2 answers
  • There will be 10 numbers stored contiguously in the computer at location x 7000 . Write a complete LC-3 program, starting at loc
    14·2 answers
  • Write a function swap that swaps the first and last elements of a list argument. Sample output with input: 'all,good,things,must
    10·2 answers
  • Why do you classify computers?
    6·1 answer
  • What is the difference between the byte and short data types in Java?
    7·1 answer
  • 1.<br> _g<br> clue: fret; become worried<br> 2.<br> Fret become worried
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!