Answer:
C. (3* 6+ 2)/2
Explanation:
Arithmetic operation are performed sequentially using the rule known as bracket of division, multiplication, addition and subtraction (BODMAS).
(3* 6 + 2)/2
Simplifying the above mathematical expression, we have;
(18 + 2)/2
= 20/2 = 10
What is the name of the variable in the
following code?
Answer:
Lift
Explanation:
When coding, you use a variable name for an object, and assign it to move up, down, and/or sideways.
What’s the term for a current flow in which electrons move in one direction
Answer:
Direct Current
Explanation:
MARK ME BRAINLIEst pls
One of the following is NOT a basic linked list operation:_________.
a) search
b) insert
c) create
d) delete
e) traverse
f) destroy
g) build list from file
Answer:
One of the following is NOT a basic linked list operation:_________.
g) build list from file
Explanation:
Linked list operation is the creation of trees and graphs or a chain of data elements, which are called nodes. Each note points to the next using a pointer. In linked lists, each node consists of its own data and the address of the next node. A linked list, which may be single, double, or circular, forms a chain-like structure that builds from one node to the other.
write algorithm and flowchart to calculate sum,difference, product and quotient of two integer number given by the user.
Answer:
Step1: Start
Step2: Initialize the count variable to zero
Step3: Initialize the sum variable to zero
Step4: Read a number say x
Step 5: Add 1 to the number in the count variable
Step6: Add the number x to the sum variable.
Step7: Is the count variable in the memory greater than 50?
If yes, display the sum: go to step 8.
If No, Repeat from step 4
Step8: Stop
Explanation:
8. T/F: At the bottom of a slide you are working on you can enter notes to indicate what yo
True
False
« BACK
LESSON 8.1 - INTRO TO PRESENTATIONS
Answer: True. Hope it helps!
Which of the following scenarios is most likely to give you the shallowest depth of field?
a) 18mm lens at f5.6, subject 20 feet away.
b) 50mm lens at f22, subject 6 feet away.
c) 28mm lens at f4, subject 15 feet away.
d) 85mm lens at f2, subject 8 feet away
50 points and brainliest
Answer: The answer is B Hope this helps :) Please mark Brainliest
Explanation:
Write a program with a method called passwordCheck to return if the string is a valid password. The method should have the signature shown in the starter code.
The password must be at least 8 characters long and may only consist of letters and digits. To pass the autograder, you will need to print the boolean return value from the passwordCheck method.
Hint: Consider creating a String that contains all the letters in the alphabet and a String that contains all digits. If the password has a character that isn’t in one of those Strings, then it’s an illegitimate password!
Coding portion:
public class Password
{
public static void main(String[] args)
{
// Prompt the user to enter their password and pass their string
// to the passwordCheck method to determine if it is valid.
}
public static boolean passwordCheck(String password)
{
// Create this method so that it checks to see that the password
// is at least 8 characters long and only contains letters
// and numbers.
}
}
Answer:
import java.util.regex.*;
import java.util.Scanner;
public class Password
{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Please enter the Password. \n");
String passwordString = input.next();
System.out.println(passwordCheck(passwordString));
}
public static boolean passwordCheck(String password){
if(password.length()>=8 && password.matches("[a-z0-9A-Z]+")){
return true;
}
else{
return false;
}
}
}
Explanation:
The Java class "Password" is used by the program to make an instance of the password object and check its validity with the passwordChecker method defined within the Password class. The passwordChecker method only matches alphanumeric passwords, that is, passwords with alphabets and numbers. If a non-alphanumeric character is encountered, the boolean value false is returned.