Find Jobs
Hire Freelancers

Write some Software

$10-30 USD

Dibatalkan
Disiarkan sekitar 8 tahun yang lalu

$10-30 USD

Dibayar semasa penghantaran
Write a set of Scheme definitions that implement a “movie queue”. A movie queue is a S list of movies each with a priority value that indicates the priority in which you wish to view the movie.( e.g. Netflix queue for sending DVDs to user) You can add and remove movies. You can change the priority value of the movie. If your movie queue has n movies, then the priority values of the movies in your queue must be an integer from 1 to n with no priority value used twice. You are not implementing a data structure queue but rather a list of movies with priorities. 1. A ( name priority ) tuple is called a movie. The name is a string representing the name of the movie and the priority is a positive integer representing the order in which you wish to view your movies. A movieQueue will be represented as a list movies with priorities 1 – n where n is the length of the list. There should be no duplicate movies. All integers 1 to n must be used once. For example: ( (“Star Wars”, 1 ) ( “Revenant” 2) ( “Zootopia” 3 ) ( “Creed” 4) (“Anomalisa” 5) ) or ( (“Star Wars”, 1 ) ( “Zootopia” 3 ) ( “Creed” 4) (“Anomalisa” 5) ( “Revenant” 2)) Write the following Scheme functions. a. (name m) // returns the name of the movie m b. (priority m ) //returns the priority of the movie m c. (compare m1 m2) returns #t if movie m1 has a lower priority than movie m2. Otherwise return #f. ... Please note, there are more functions and instructions - I will provide them to interested bidders.
ID Projek: 10054478

Tentang projek

1 cadangan
Projek jarak jauh
Aktif 8 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
1 pekerja bebas membida secara purata $100 USD untuk pekerjaan ini
Avatar Pengguna
Hello Sir... I am a computer science tutor, I teach (among others) Scheme, Racket and Algorithms. I have done many projects like this, and I'm one of the top Scheme developers, you can check here please: https://www.freelancer.com/freelancers/skills/Scheme/ Please contact me for more details when possible. I look forward to work for you Sir. Best Regards.
$100 USD dalam 1 hari
4.9 (65 ulasan)
6.4
6.4

Tentang klien

Bendera UNITED STATES
Northridge, United States
5.0
3
Kaedah pembayaran disahkan
Ahli sejak Feb 22, 2016

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.