Answer:
The answer is B. Use a private sharing model granting record access using custom setting; manage field access with page layouts and field level security
Explanation:
The answer is B. Use a private sharing model granting record access using custom setting; manage field access with page layouts and field level security.
The reason the answer is B is because if access is provided through a hierarchy, it will give access to all the users at the higher manager role for the records of every executive. Also the options provided do not state clearly if Grant access using hierarchy is also checked so we cant assume that.
The :visited selector is used for this.
Answer:
We can give the any integer value between 10 to 100 then it display the message "That number is acceptable."
Explanation:
In the given code the "number" variable takes an user input via cin .After taking user input it check the condition of if block that the user input is between the range of 10 to 100 .if this condition is true then the statement of if block will be executed i.e That number is acceptable otherwise else block will be executed That number is not acceptable.
following are the code in c++
#include <iostream> // header file
using namespace std;
int main() // main
{
int number; // variable
cin >> number; // taking input
if (number > 10 && number < 100) // if block
cout << "That number is acceptable.";
else
cout << "That number is not acceptable.";
return 0;
}
Output:
66
That number is acceptable.
456
That number is not acceptable.
Package com.java2novice.algos; public class MyPrimeNumCheck { public boolean isPrimeNumber(int number){ for(int i=2; i<=number/2; i++){ if(number % i == 0){ return false; } } return true; } public static void main(String a[]){ MyPrimeNumCheck mpc = new MyPrimeNumCheck(); System.out.println("Is 17 prime number? "+mpc.isPrimeNumber(17)); System.out.println("Is 19 prime number? "+mpc.isPrimeNumber(19)); System.out.println("Is 15 prime number? "+mpc.isPrimeNumber(15)); }
You can find this code at
http://www.java2novice.com/java-interview-programs/is-prime-number/