Answer:
1/2000
Explanation:
import java.util.Scanner;
public class InputExample {
public static void main(String [] args) {
Scanner scnr = new Scanner(System.in);
System.out.print("Enter birth month and date:");//comment this line if not needed
int birthMonth=scnr.nextInt();
int birthYear=scnr.nextInt();
String output= birthMonth+"/"+birthYear+"\n";
System.out.println(output);
}
}
if using this code the out put should be 1/2000
Answer:
D – Create a new validation rule that allows only EUR or GBP to be selected from all active currencies when an opportunity is created for these products.
Explanation:
Application containers are used to hold applications deployed to the internet during production. These containers are products of online hosting cloud services, used to control and maintain the application in production.
Access to the application's functionalities requires validation, the user must be authenticated and authorized to access certain services of the application.
1. The answer is C. Pick an object at random, and keep track of how many copies of an object are left in a game.
2. The answer is D. Clockwise and counter clockwise.
3. The answer is B. To play an object's animation.
I hope you find this helpful.
Answer:
Direct data access reduces the speed of retrieving data from memory or storage. Retrieving data and storing it in a cache memory provides direct access to data in the storage.
Explanation:
Sequential memory access, as the name implies, goes through the memory length location in search of the specified data. Direct memory access, provides a memory location index for direct retrieval of data.
Examples of direct and sequential memory access are RAM and tapes respectively. Data in sequential memory access can be access directly by getting data in advance and storing them in cache memory for direct access by the processor.
Answer:
#include <stdio.h>
int hexToDec(const int hexNum[]){
int result = 0, prod = 1;
for(int i = 3;i>=0;i-=1){
result += (prod*hexNum[i]);
prod = prod * 16;
}
return result;
}
int main()
{
int hexNum[4], i;
char s[5], ch;
printf("Enter hexa decimal value: ");
scanf("%s",s);
for(i = 0;i<4;i++){
ch = s[i];
if(ch>='0' && ch<='9'){
hexNum[i] = ch-'0';
}
else if((ch>='a' && ch<='f') || (ch>='A' && ch<='F')){
if(ch=='A' || ch=='a'){
hexNum[i] = 10;
}
else if(ch=='B' || ch=='b'){
hexNum[i] = 11;
}
else if(ch=='C' || ch=='c'){
hexNum[i] = 12;
}
else if(ch=='D' || ch=='d'){
hexNum[i] = 13;
}
else if(ch=='E' || ch=='e'){
hexNum[i] = 14;
}
else{
hexNum[i] = 15;
}
}
}
printf("%d",hexToDec(hexNum));
return 0;
}
Explanation: