from deque import Deque
s = (s.lower()
d = Deque()
for ch in s:
stillEqual = True
alphabet = 'abcdefghijklmnopqrstuvwxyz'
CSC 1750 Introduction to Algorithms
2017 Spring: Homework #1: (Due: Feb 6th)
PROBLEMS (4 * 25 points)
For each problem give at least another suitable set of test data.
1. Car Mileage
Write an algorithm to read the distance travelled in miles and gas used
[A set of possible answers are given below. Answers may vary]
CSC 1750: Continuous Assessment-1
(1) [40 points]
A Coin Dispenser at an Arcade accepts 20, 10, 5 and 1 dollar notes and dispenses equivalent
quarters. Complete the following algorithm t
Chapter 1 Introduction to Computers, Programs, and Java
Section 1.2 What is a Computer?
1. _ is the physical aspect of the computer that can be seen.
c. Operating system
d. Application program
2. _ is the brain of a computer.
UNIT 3 EXPRESSIONS AND EQUATIONS
Station Activities Set 1: Factoring
Work as a group to factor each equation. Use the algebra tiles if you wish. Show all your work.
1. y = x 2 + 8 x + 16
2. y = x 2 2 x 35
3. y = x 2 + 8 x 9
How do introduced species affect the environment?
The biological diversity, or biodiversity, of an area refers to the variety of life in that area. The most
common measurement of biodiversity is the number of different species that live in
Module 12 Lecture and Study GuideClimate and Biomes
1. What is the difference between weather and climate?
climate is the average type of weather where you get in a region mainly based on temperature
2. Name the 5 c
#Recursion function that displays integer as binary number.
if b > 1:
print(b % 2, end = ')
#Main function asks for user input in the form of an integer then displays the
integer as a binary nu
Test 1 Study Guide
Dimensions must match
1. Scalar Multiplication
k a1,1 k a1,2
k a2,1 k a2,2
k Amxn =
k am,1 k am,2
Multiple Choices: Identify the choice that best statement or answer for each question.
1. Which of the following is true?
a. Computer science is the study of
c. Computer science is the study of
b. Computer scien