1.Write a procedure named maximums which takes a list of lists of numbers and produces a new list containing only the ma

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

1.Write a procedure named maximums which takes a list of lists of numbers and produces a new list containing only the ma

Post by answerhappygod »

1.Write a procedure named maximums which takes a list of lists
of numbers and produces a new list containing only the maximum
value from each of the lists of numbers. You may use findMax from
#6 in your solution. For example, if the input was: '((1 2 3) (6 4
5) (8 9)) -> '(3 6 9)
2Write a procedure named decimalToBinary that takes a number as
a parameter and produces a list representation of the binary
equivalent of the input. For example, if the input was 13 -> '(1
1 0 1)
3Write a procedure named binaryToDecimal that takes a list
representation of a binary number as a parameter and produces the
decimal equivalent. For example, if the input was '(1 1 0 1) ->
13
4.What is the difference between JSON and XML and why has JSON
become the modern standard?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply