A certain computer password consists of 3 through 5 uppercase letters chosen from the 26 letters in the Roman alphabet, with repetitions allowed. a. How many different passwords can be formed? b) How many different passwords have no repeated letter? c) What is the value of p after exiting the nested loop? p:= 1 for i:= 1 to 3 for j:= 1 to 3 p:=p·i·j next j next i

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 8PE
icon
Related questions
Question
A certain computer password consists of 3 through 5 uppercase letters chosen from the 26
letters in the Roman alphabet, with repetitions allowed.
a,
How many different passwords can be formed?
b)
How many different passwords have no repeated letter?
c)
What is the value of p after exiting the nested loop?
p:= 1
for i:= 1 to 3
for j := 1 to 3
p:= p · i ·j
next j
next i
Transcribed Image Text:A certain computer password consists of 3 through 5 uppercase letters chosen from the 26 letters in the Roman alphabet, with repetitions allowed. a, How many different passwords can be formed? b) How many different passwords have no repeated letter? c) What is the value of p after exiting the nested loop? p:= 1 for i:= 1 to 3 for j := 1 to 3 p:= p · i ·j next j next i
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,