1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
DerKrebs [107]
3 years ago
12

Define token. Give examples of 5 tokens in any programming language​

Computers and Technology
1 answer:
dimaraw [331]3 years ago
8 0

<u>Tokens and its examples:</u>

Token is data type and it is behavior or categorized types. Basically most of programing language will have all five tokens data types and they are.

  • Operators.
  • Constants
  • Reserve words
  • Separators
  • Identifiers

Operators: - such as mathematic operations such as example: - “+”,”-“

Constants: - which used with CONST in vb.net or #define in c programming language, such as example: - 400,200.

Reserved words:- if , then are all used for if condition where if and then are reserved used in programming language for specific purpose.

Separators: - it used with write a procedure or function, in c languages “()” or “()” in vb.net sub and end sub.

Identifiers: - end user to define variable with data type class and store the value in the programming languages, such as amt = 0, rate=10.5.

You might be interested in
Which of the following statements is true regarding Wireshark?
melisa1 [442]

I would go with A. Wireshark is probably the most widely used packet capture and analysis software in the world.

Wireshark is a pretty handy tool that is used to capture and analyze network traffic. It is used by techies and sys admins to troubleshoot network protocols and services that are normally exposed over networks. It is the best way to see whether protocols like DNS and DHCP are doing the “right” thing. It simply helps you understand network traffic analysis and how communication takes place.

5 0
3 years ago
Which mode can students use to ensure that their information is not saved in their Chrome browser
Inga [223]
Like their history? if so then I'd say incognito mode. hope I helped and if not sorry!!

8 0
3 years ago
Most sim cards allow ___________ access attempts before locking you out.
miv72 [106K]
The answer is simple

4 0
3 years ago
Write a program that will read the weight of a package of breakfast cereal in ounces and output the weight in metric tons as wel
almond37 [142]

Answer:

The C++ code is given below

Explanation:

#include <iostream>

using namespace std;

int main () {

int flag=1;

do{

double ounce,metric,boxes;

cout<<"Enter weight of package in ounces: ";

cin>>ounce;

metric=ounce/35273.92;

cout<<"Metric ton is "<<metric<<endl;

boxes=35273.92/ounce;

cout<<"Number of boxes are: "<<boxes<<endl;

cout<<"Press 0 to quit else press 1: ";

cin>>flag;

}while(flag==1);

return 0;

}

3 0
3 years ago
A(n) ______ is a laptop computer that can convert into a tablet-like device.
Ira Lisetskai [31]
(ignore the words in parenthesis, I just have to have 20 letters in an answer) 2-in-1 PC
4 0
3 years ago
Other questions:
  • What are some tasks Petroleum Engineers perform?
    5·2 answers
  • Which of the following represents the bus topology? Multiple Choice All devices are connected to a central device, called a hub.
    8·1 answer
  • How many bones are in a human body
    7·2 answers
  • the ____ presents information about the document, the progress of current tasks, and the status of certain commands and keys.​
    14·1 answer
  • Explain with a few sentences and using the terms sequencing, selections and loops how they
    9·1 answer
  • Refer to the following statement: “We have implemented several IT solutions:
    14·1 answer
  • Irena sends unwanted e-mails to another girl in her class, but she is reported to the principal. Irena stops sending the e-mails
    12·2 answers
  • Give two advantages of representing integers in pure binary.
    5·1 answer
  • The keyboard shortcut to enter the current date in a field is
    11·1 answer
  • To execute a command object and store the results in a dataset, you use the Group of answer choices Fill method of a data adapte
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!