One advantage of the Second generation of programming language is that it is machine dependent. True or False

Answers

Answer 1
Answer:

Answer:

I THINK FALSE

Explanation:


Related Questions

In this project you will write a set of instructions (algorithm). The two grids below have colored boxes in different locations. You will create instructions to move the colored boxes in grid one to their final location in grid two. Use the example to help you. The algorithm that you will write should be in everyday language (no pseudocode or programming language). Write your instructions at the bottom of the page.Example: 1. Move the orange box 2 spaces to the right.2. Move the green box one space down. 3. Move the green box two spaces to the left.Write your instructions. Review the rubric to check your final work.Rules: All 6 colors (red, green, yellow, pink, blue, purple) must be move to their new location on the grid. Block spaces arebarriers. You cannot move through them or on them – you must move around them
g Write a method that accepts a String object as an argument and displays its contents backward. For instance, if the string argument is "gravity" the method should display -"ytivarg". Demonstrate the method in a program that asks the user to input a string and then passes it to the method.
Write code which takes a user input of a String and an integer. The code should print each letter of the String the number of times the user inputted in reverse order. I believe it's supposed to use nested loops, but I can only get it to repeat the whole word backwards x times.ex.Input a String:codeInput an integer:3eeedddoooccc
. One of the vulnerabilities the Morris worm used was a networking service called finger. The purpose of the finger service is to:A. report which device drivers a computer usesB. determine which ports are open on a computerC. report the status of individual computer usersD. determine which operating system is running on a computer
Write a program that takes user input describing a playing card in the following short-hand notation:А Ace 2... 10 Card valuesJ Jack Q Queen K King D Diamonds H Hearts S Spades C ClubsYour program should print the full description of the card. For example, Enter the card notation: QS Queen of Spades Implement a class Card whose constructor takes the card notation string and whose getDescription method returns a description of the card. If the notation string is not in the correct format, the getDescription method should return the string "Unknown".

Population Growth The world population reached 7 billion people on October 21, 2011, and was growing at the rate of 1.1% each year. Assuming that the population
continues to grow at the same rate, approximately when will the population reach
8 billion? using python

Answers

Hope it this helps.

Give an example of a function from N to N that is:______.a) one-to-one but not onto
b) onto but not one-to-one
c) neither one-to-one nor onto

Answers

Answer:

Let f be a function

a) f(n) = n²

b) f(n) = n/2

c) f(n) = 0

Explanation:

a) f(n) = n²

This function is one-to-one function because the square of two different or distinct natural numbers cannot be equal.

Let a and b are two elements both belong to N i.e. a ∈ N and b ∈ N. Then:

                                f(a) = f(b) ⇒ a² = b² ⇒ a = b

The function f(n)= n² is not an onto function because not every natural number is a square of a natural number. This means that there is no other natural number that can be squared to result in that natural number.  For example 2 is a natural numbers but not a perfect square and also 24 is a natural number but not a perfect square.

b) f(n) = n/2

The above function example is an onto function because every natural number, lets say n is a natural number that belongs to N, is the image of 2n. For example:

                                f(2n) = [2n/2] = n

The above function is not one-to-one function because there are certain different natural numbers that have the same value or image. For example:

When the value of n=1, then    

                                   n/2 = [1/2] = [0.5] = 1

When the value of n=2 then

                                    n/2 = [2/2] = [1] = 1

c) f(n) = 0

The above function is neither one-to-one nor onto. In order to depict that a function is not one-to-one there should be two elements in N having same image and the above example is not one to one because every integer has the same image.  The above function example is also not an onto function because every positive integer is not an image of any natural number.

Which type of error occurred in the following lines of code? >>> print(9 / 0)

Traceback (most recent call last):

File " ", line 1, in

9/0

ZeroDivisionError: division by zero
Answer choices:
reserved word error

logical error

exception

syntax error

Answers

Answer: Logical Error

The division by 0 is a logical error.

In dealing with facial recognition technology, what term describes the rate at which imposters are recognized as legitimate users?

Answers

Answer:

CER

Explanation:

The CER refers to equanimity between an identification technology's False Acceptance Rate and its False Rejection Rate, which is “the best summary measure of face recognition technologies' efficacy,” according to a statement from Applied Recognition.

When do you need to apply for program completion andreview?a. 1-2 semesters before program completion

b. one month before program completion

c. a couple of weeks before program completion

d.Never, you don’t need to complete any paperwork to prepare for program completion

Answers

Answer:

d. Never, you don’t need to complete any paperwork to prepare for program completion

Explanation:

Program completion is depends on completion of your course work and successful thesis defense. If all the requirements to complete the program are successfully completed with required grades university/ Institute will automatically  complete your program. In case you have any requirement left or any course having grade 'F' your program will not be considered as completed. In case if you want to improve some grade or revise some course you should write to the university that you want improve some course or grade.

So, there is no need to complete any paper work to prepare for program completion.

Write a method called allDigitsOdd that returns whether every digit of a positive integer is odd. Return true if the number consists entirely of odd digits (1, 3, 5, 7, 9) and false if any of its digits are even (0, 2, 4, 6, 8). For example, the call allDigitsOdd(135319) returns true but allDigitsOdd(9145293) returns false.

Answers

Answer:

Sample output:

Enter integer 3232423

true

Enter integer 12131231

false

Explanation:

Above is the output of the program and for the solution check the screenshots attach to understand clearly the program.

Thanks