.Although SQL is a language, you donât use it to write applications? (true, false)

Answers

Answer 1
Answer:

Answer:

True

Explanation:

SQL stands for structured  query language , which is used to query Relational Database Management systems like SQLServer. This is not for writing applications like business layer where we use some programming languages.SQL is meant for data layer to perform CRUD operations against database.

CRUD operations :

Create

Read

Update

Delete

we can perform above operations on database by using SQL query language


Related Questions

Which of the following statements is true of recombinant batteries? A. They recombine oxygen.B. They're able to produce a higher voltage.C. They're vented to release gassing.D. They recombine sulfuric acid.
People convicted of cyberbullying in most statesface no punishment for their actions.face varying degrees of punishment.are taught how to use technology positively.are forced to do community service.
Which business application uses electronic tags and labels to identify objects wirelessly over short distances? A. Radio-frequency identificationB. Global positioning systemsC. Geographic information systemsD. Location-based services
A customer has engaged your software development company to develop a new order-processing system. However, the time frames are very tight and inflexible for delivery of at least the basic part of the new system. Further, user requirements are sketchy and unclear. a. What is the best system development strategy that might be advantageous to use in this engagement? b. What is the potential downside to using the strategy described in the part a?
What decision-making style most likely requires the most amount of data analysis?

Below is a 4-bit down-counter. What is the largest number of the counter if the initial state Q3Q2Q1Q0=0011? (D3 and Q3 are MSB, and when Load = 1 and Count =1 the counter is loaded with the value D3…D0) Selected Answer: IncorrectC. 1100 Answers: CorrectA. 1111 B. 0011 C. 1100 D. 0110

Answers

Answer:

The correct answer is option (A) 1111

Explanation:

For initial state Q3Q2Q1Q0=0011,

For load = 1 and count = 1 the count is as follows;

1100

1101

1110

1111

Therefore, the maximum count value is 1111

Write a loop that continually asks the user what pets the user has, until the user enters "rock", in which case the loop ends. It should acknowledge the user in the following format. For the first pet, it should say "You have a dog with a total of 1 pet(s)" if they enter dog, and so on. Sample Run:
User enters:
lemur parrot cat rock
Outputs:
You have a lemur with a total of 1 pet(s)
You have a parrot with a total of 2 pet(s)
You have a cat with a total of 3 pet(s)

Answers

Following are the python program to use the loop to count the number of pets until the user enters the "rock":

Program:

c = 0#defining a variable c that initilzes with 0

p = input()#defining a variable p that input value

while p != 'rock':#defining a loop that check p value not equal to rock

  c += 1#using c variable for counts total number of pets

  print('You have a %s with a total of %d pet(s)' %(p,c))#print total number of pet

  p = input() #input value

Output:

Please find the attached file.

Program Explanation:

  • Defining a variable "c" that is initialized with 0, which is used to count input values.
  • In the next line, a "p" variable is declared as the input value from the user end.
  • A while loop is declared to check that the p-value is not equal to 'rock'.
  • Inside this loop, the "c" variable is used for counting the total number of pets, and a print method is used to print the total number of pets.
  • Another input method is used that works until the user inputs the value that is "rock".

Find out more about the loop here:

brainly.com/question/17067964

#Imagine you're writing a program to check if a person is #available at a certain time.

#

#To do this, you want to write a function called

#check_availability. check_availability will have two

#parameters: a list of instances of the Meeting class, and

#proposed_time, a particular date and time.

#

#check_availability should return True (meaning the person

#is available) if there are no instances of Meeting that

#conflict with the proposed_time. In other words, it should

#return False if proposed_time is between the start_time and

#end_time for any meeting in the list of meetings.

#

#The Meeting class is defined below. It has two attributes:

#start_time and end_time. start_time is an instance of the

#datetime class showing when the meeting starts, and

#end_time is an instance of the datetime class indicating

#when the meeting ends.

#

#Hint: Instances of the datetime have at least six

#attributes: year, month, day, hour, minute, and second.

#

#Hint 2: Comparison operators work with instances of the

#datetime class. time_1 < time_2 will be True if time_1 is

#earlier than time_2, and False otherwise.

#

#You should not assume that the list is sorted.

#Here is our definition of the Meeting class:

from datetime import datetime

class Meeting:

def __init__(self, start_time, end_time):

self.start_time = start_time

self.end_time = end_time

#Write your function here!



#Below are some lines of code that will test your function.

#You can change the value of the variable(s) to test your

#function with different inputs.

#

#If your function works correctly, this will originally

#print: True, then False

meetings = [Meeting(datetime(2018, 8, 1, 9, 0, 0), datetime(2018, 8, 1, 11, 0, 0)),

Meeting(datetime(2018, 8, 1, 15, 0, 0), datetime(2018, 8, 1, 16, 0, 0)),

Meeting(datetime(2018, 8, 2, 9, 0, 0), datetime(2018, 8, 2, 10, 0, 0))]

print(check_availability(meetings, datetime(2018, 8, 1, 12, 0, 0)))

print(check_availability(meetings, datetime(2018, 8, 1, 10, 0, 0)))

Answers

Answer:

i hope the program below will help you!

Explanation:

Create an application named TestSoccerPlayer that instantiates and displays a SoccerPlayer object. The SoccerPlayer class contains the following properties: Name - The player’s name ( a string) JerseyNum - The player's jersey number (an integer) Goals - Number of goals scored (an integer) Assists - Number of assists (an integer)

Answers

Answer:

public class TestSoccerPlayer {

   public static void main(String[] args) {

       SoccerPlayer playerOne = new SoccerPlayer("Rinco",9,16,22);

       System.out.println("The player of the season is "+playerOne.getName()+" His Jessey Number is "+playerOne.getJerseyNum()

       +" In the 2019/2020 season he scored and total of "+playerOne.getGoalsScored()+" and "+

               playerOne.getAssists()+" Asists");

   }

}

See the SoccerPlayer class with the feilds and methods (constructor, getter and setters) in the explanation section

Explanation:

public class SoccerPlayer {

   private String name;

   private int jerseyNum;

   private int goalsScored;

   private int assists;

   public SoccerPlayer(String name, int jerseyNum, int goalsScored, int assists) {

       this.name = name;

       this.jerseyNum = jerseyNum;

       this.goalsScored = goalsScored;

       this.assists = assists;

   }

   public String getName() {

       return name;

   }

   public void setName(String name) {

       this.name = name;

   }

   public int getJerseyNum() {

       return jerseyNum;

   }

   public void setJerseyNum(int jerseyNum) {

       this.jerseyNum = jerseyNum;

   }

   public int getGoalsScored() {

       return goalsScored;

   }

   public void setGoalsScored(int goalsScored) {

       this.goalsScored = goalsScored;

   }

   public int getAssists() {

       return assists;

   }

   public void setAssists(int assists) {

       this.assists = assists;

   }

}

Write a program that reads in 10 numbers from the user and stores them in a 1D array of size 10. Then, write BubbleSort to sort that array – continuously pushing the largest elements to the right side

Answers

Answer:

The solution is provided in the explanation section.

Detailed explanation is provided using comments within the code

Explanation:

import java.util.*;

public class Main {

//The Bubble sort method

public static void bb_Sort(int[] arr) {  

   int n = 10; //Length of array  

   int temp = 0; // create a temporal variable  

   for(int i=0; i < n; i++){  

         for(int j=1; j < (n-i); j++){  

           if(arr[j-1] > arr[j]){  

               // The bubble sort algorithm swaps elements  

               temp = arr[j-1];  

               arr[j-1] = arr[j];  

               arr[j] = temp;  

             }  

         }            

         }  

        }

 public static void main(String[] args) {

   //declaring the array of integers

   int [] array = new int[10];

   //Prompt user to add elements into the array

   Scanner in = new Scanner(System.in);

   //Use for loop to receive all 10 elements

   for(int i = 0; i<array.length; i++){

     System.out.println("Enter the next array Element");

     array[i] = in.nextInt();

   }

   //Print the array elements before bubble sort

   System.out.println("The Array before bubble sort");

   System.out.println(Arrays.toString(array));

   //Call bubble sort method

   bb_Sort(array);  

               

   System.out.println("Array After Bubble Sort");  

   System.out.println(Arrays.toString(array));

 }

}

Write the prototype for a function named showSeatingChart that will accept the following two-dimensional array as an argument. const int ROWS = 20; const int COLS = 40; string seatingChart[ROWS][COLS]; Note: The two-dimensional array argument must be a const string array. You must include a second integer argument (scalar, not an array).

Answers

Answer:

See explaination

Explanation:

void showSeatingChart(string seatingChart[20][40], const int ROWS, const int COLS){

for(int i = 0;i<ROWS;i++){

for(int j = 0;j<COLS;j++){

cout<<seatingChart[i][j]<<" ";

}

cout<<endl;

}

}