Considerations for Constructing Twitter Queries in SMA

Size: px
Start display at page:

Download "Considerations for Constructing Twitter Queries in SMA"

Transcription

1 Considerations for Constructing Twitter Queries in SMA This document is intended for users who write BoardReader queries in SMA to trigger collection of Twitter content via a GNIP Power Track instance. This happens when writing queries to fetch against the Microblogs (Twitter) source. When Twitter is enabled as a data source for a BoardReader key, BoardReader collects Twitter records from the SMA user's GNIP PowerTrack instance by translating Twitter queries into GNIP rules. The collected results are then fetched via the issued queries and used in SMA analysis. For best results, the following rules and best practices should be considered. The rules and best practices take into account the following: The extended query syntax offered in BoardReader APIs The compatible Power Track operators and syntax for creating valid rules The challenging task of processing an infinite variety of pass-through queries and mapping these queries to functionally equivalent Power Track rules. Important: BoardReader queries that do not adhere to GNIP limitations as described in this document will be dropped from collection without real-time feedback to the SMA user. By contrast, SMA's automatically generated queries accommodate the limitations so that users don't have to think about BoardReader and GNIP syntax restrictions. Considerations for pass-through queries Term - A query is composed of one or more terms. A term can also be referred to as a keyword. Terms can be positive or negative No individual term should exceed 128 characters A term can start with either a digit (0-9) or any non-punctuation character. Current punctuation characters are defined as the ASCII characters:! % & \ ' ( ) * + -. / ; < = >? \\, : \t \r \n " [] _ and the Unicode ranges: U+007B -- U+00BF U+02B0 -- U+037F U U+2BFF U+FF00 -- U+FF03 U+FF05 -- U+FF0F Any term that needs to start with these characters must be quoted. Note that this consideration applies only if you intend the characters to be part of a term, not when they are being used as an actual operator (i.e. term for term exclusion). 1 of 5

2 Terms containing Unicode symbol, separator, or punctuation characters should be quoted to take advantage of the exact match operator. Do not use wildcards with pass-through queries. Query the value being passed to BoardReader s API (e.g. /Twitter/Search endpoint) The maximum rule length allowed by Power Track is 1,024 characters. However, the actual limit for pass-through queries is less than this. BoardReader must translate submitted queries into compatible GNIP rules and this may impact the number of characters required (e.g. the character used to designate an OR must be replaced with a literal OR which means each OR term requires one additional character). Also, during rule construction BoardReader may append the following operator to the query value passed in the API request: Sample This operator is used to specify the sampling rate (i.e. % of matches to be delivered). The default is 100% so this operator is only required if the client key is associated with some other sampling rate (e.g. 25% or 50%). When the operator is included, this will require 10 characters. To be safe, customers should limit query length to account for such manipulations to the original query. In addition, if languages are selected, 11 characters and 1 OR term must be reserved for each language. No additional considerations need to be given if Use all languages is selected (no language filters are specified). In summary, customers must allow 10 extra characters if a sampling rate applied to their key, one extra character for each OR term used, and 11 extra characters and 1 OR term for every language selected. A single Power Track rule can support up to 29 positive terms, and up to 50 negative terms. Exceeding these limits will cause the rule to be rejected. Negative terms cannot be part of an OR. Language Boolean Operators When Twitter queries are executed through SMA, these queries are registered (with GNIP Power Track) for collection. As of SMA 1.3 FP1 IF5, collection respects language selection and collects records matching only those selected languages. Queries invoked through SMA filter the content to your languages of choice. Selecting Use all languages in SMA results in collecting and fetching results matching the query in all languages. In some cases, there are multiple ways to write a BoardReader query involving Boolean operators. For pass-through queries we recommend the following operators be used: 2 of 5

3 AND Use a single space instead of the & character. NOT Use the - character (ASCII hyphen-minus sign) instead of the! character (also valid) or some Unicode dash character like Em or En (invalid). Use a space to separate the NOT term(s) from the rest of the query. These are the same operators that GNIP supports so following these recommendations will reduce variation and make query evaluation and mapping to an equivalent GNIP rule more reliable. The OR operator is not listed because the only option is to use the character. The + character should not be used to separate terms. A single space should be used for pass-through queries. Phrase/Exact Match A phrase counts as a single positive or negative term for the purpose of checking those limits A phrase must have a matching pairs of quotes or the pass-through query will be rejected. Please make sure to use the standard ASCII double quote character for phrases. Phrases cannot be embedded. For example outer inner phrase is not a valid phrase. Proximity Operator Power Track rules support the same proximity operator syntax as BoardReader, but the behavior differs slightly and is defined as follows: Syntax: "term_a term_b"~n Where terms are no more than N tokens from each other If keywords in opposite order, they cannot be more than N-2 tokens from each other. GNIP provides the following example: Assume the rule is love boulder ~4. This rule would match the following 2 sentences: Love everything about my town Boulder. Boulder, I love living here. But would not match these 2 sentences: I don t love hiking, but I really like to visit Boulder. Boulder is a place I love to visit. 3 of 5

4 Can have any number of terms in quotes N cannot be greater than 6 If a value of N > 6 is submitted in the pass-through query BoardReader will substitute a value of 6 in the derived Power Track rule. Grouping Stop words Parenthesis used for grouping terms must be balanced or the passthrough query will be rejected. The current list of Power Track stop words includes: "a", "an", "and", "at", "but", "by", "com", "from", "http", "https", "if", "in", "is", "it", "its", "me", "my", "or", "rt", "the", "this", "to", "too", "via", "we", "www", "you" These terms are not allowed unless in quotes. There must be at least one non-stop word term in the phrase. To prevent run-away data collection, we are ignoring any pass-through query with character length 1 (e.g. the letter M or number 1 ) Field Search and Position Operators The following Sphinx operators have no Power Track equivalent and will be silently ignored: Field search operator world) Field position limit modifier hello) Multiple-field search operator hello world) Ignore field search operator hello world) Ignore multiple-field search operator hello world) All-field search operator hello) In the above examples title and body are searchable fields in our index Other Advanced Sphinx Operators The following Sphinx operators have no Power Track equivalent and will cause the pass-through query to be rejected: Quorum matching operator Field-start and field-end modifier NEAR, generalized proximity operator 4 of 5

5 SENTENCE operator (not supported in BoardReader index) PARAGRAPH operator (not supported in BoardReader index) ZONE limit operator (not supported in BoardReader index) ZONESPAN limit operator (not supported in BoardReader index) These operators will be silently removed: Strict order operator (silently removed if not quoted) Exact form modifier (silently removed if not quoted) 5 of 5

EBSCO Searching Tips User Guide. support.ebsco.com

EBSCO Searching Tips User Guide. support.ebsco.com EBSCO Searching Tips User Guide support.ebsco.com Table of Contents About this User Guide... 3 Booleans... 4 Using Booleans and Parentheses... 4 Using Booleans When Phrase Searching... 5 Field Codes...

More information

SPEECH RECOGNITION COMMON COMMANDS

SPEECH RECOGNITION COMMON COMMANDS SPEECH RECOGNITION COMMON COMMANDS FREQUENTLY USED COMMANDS The table below shows some of the most commonly used commands in Windows Speech Recognition. The words in italics indicate that many different

More information

Semantic Searching: Making Web Searches Smarter BEBO WHITE SOMEWHERE NEAR CAPE HORN MACMANIA11 FEBRUARY 9, 2011

Semantic Searching: Making Web Searches Smarter BEBO WHITE SOMEWHERE NEAR CAPE HORN MACMANIA11 FEBRUARY 9, 2011 Semantic Searching: Making Web Searches Smarter BEBO WHITE SOMEWHERE NEAR CAPE HORN MACMANIA11 FEBRUARY 9, 2011 Caveats I m not a Mac expert why do Neil and Theresa keep asking me? I m more of a token

More information

Lecture 2 Tao Wang 1

Lecture 2 Tao Wang 1 Lecture 2 Tao Wang 1 Objectives In this chapter, you will learn about: Modular programs Programming style Data types Arithmetic operations Variables and declaration statements Common programming errors

More information

Naming Things in Adafruit IO

Naming Things in Adafruit IO Naming Things in Adafruit IO Created by Adam Bachman Last updated on 2016-07-27 09:29:53 PM UTC Guide Contents Guide Contents Introduction The Two Feed Identifiers Name Key Aside: Naming things in MQTT

More information

How to Search: EBSCO HOST

How to Search: EBSCO HOST Basic Search How to Search: EBSCO HOST The Basic Search Screen lets you create a search with limiters, expanders, and Boolean operators. To create a Basic Search: 1. On the Basic Search Screen, enter your

More information

Getting started with Java

Getting started with Java Getting started with Java Magic Lines public class MagicLines { public static void main(string[] args) { } } Comments Comments are lines in your code that get ignored during execution. Good for leaving

More information

ARG! Language Reference Manual

ARG! Language Reference Manual ARG! Language Reference Manual Ryan Eagan, Mike Goldin, River Keefer, Shivangi Saxena 1. Introduction ARG is a language to be used to make programming a less frustrating experience. It is similar to C

More information

Typesetting Tips. Put your best type forward.

Typesetting Tips. Put your best type forward. Typesetting Tips Put your best type forward. Do you want your audience to read your document? Improve your chances by making your article easy to read. Make the document difficult to read and To learn

More information

Introduction to TURING

Introduction to TURING Introduction to TURING Comments Some code is difficult to understand, even if you understand the language it is written in. To that end, the designers of programming languages have allowed us to comment

More information

Apache Lucene - Query Parser Syntax

Apache Lucene - Query Parser Syntax Peter Carlson Table of contents 1 Overview...2 2 Terms... 2 3 Fields...3 4 Term Modifiers... 3 4.1 Wildcard Searches... 3 4.2 Fuzzy Searches... 4 4.3 Proximity Searches...4 4.4 Range Searches...4 4.5 Boosting

More information

Informit Search Syntax Changes Overview: Search Query Support & Tips

Informit Search Syntax Changes Overview: Search Query Support & Tips Version 1.0 Last modified: 24/02/16 Purpose: This document provides background for changes to search syntax introduced with Informit v3.7 released in January 2013, and a list of tips to improve results

More information

CSc Introduction to Computing

CSc Introduction to Computing CSc 10200 Introduction to Computing Lecture 2 Edgardo Molina Fall 2011 - City College of New York Thursday, September 1, 2011 Introduction to C++ Modular program: A program consisting of interrelated segments

More information

Introduction to Scientific Typesetting Lesson 1: Getting Started

Introduction to Scientific Typesetting Lesson 1: Getting Started Introduction to Scientific Typesetting Lesson 1: Getting Started Ryan Higginbottom January 5, 2012 1 Our First The Structure of a L A T E X Our First L A T E X The Structure of a L A T E X 2 The Weaknesses

More information

Programming Languages & Translators. XML Document Manipulation Language (XDML) Language Reference Manual

Programming Languages & Translators. XML Document Manipulation Language (XDML) Language Reference Manual Programming Languages & Translators (COMS W4115) Department of Computer Science Columbia University Summer 2007 XML Document Manipulation Language (XDML) Language Reference Manual Luba Leyzerenok ll2310@columbia.edu

More information

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson reserved. 0-13-185603-0 HTML HELLO WORLD! Document

More information

Statistical Insight - Help

Statistical Insight - Help Statistical Insight has been completely redesigned to support a significantly better statistical search experience! What s NEW? New look and feel! Works like ProQuest Congressional with saved searches,

More information

GBIL: Generic Binary Instrumentation Language. Language Reference Manual. By: Andrew Calvano. COMS W4115 Fall 2015 CVN

GBIL: Generic Binary Instrumentation Language. Language Reference Manual. By: Andrew Calvano. COMS W4115 Fall 2015 CVN GBIL: Generic Binary Instrumentation Language Language Reference Manual By: Andrew Calvano COMS W4115 Fall 2015 CVN Table of Contents 1) Introduction 2) Lexical Conventions 1. Tokens 2. Whitespace 3. Comments

More information

Effective searching strategies and techniques

Effective searching strategies and techniques Effective searching strategies and techniques Getting the most from electronic information resources Objectives To understand the importance of effective searching To develop guidelines for planning and

More information

The PCAT Programming Language Reference Manual

The PCAT Programming Language Reference Manual The PCAT Programming Language Reference Manual Andrew Tolmach and Jingke Li Dept. of Computer Science Portland State University September 27, 1995 (revised October 15, 2002) 1 Introduction The PCAT language

More information

Search Engine Architecture II

Search Engine Architecture II Search Engine Architecture II Primary Goals of Search Engines Effectiveness (quality): to retrieve the most relevant set of documents for a query Process text and store text statistics to improve relevance

More information

CSc 10200! Introduction to Computing. Lecture 2-3 Edgardo Molina Fall 2013 City College of New York

CSc 10200! Introduction to Computing. Lecture 2-3 Edgardo Molina Fall 2013 City College of New York CSc 10200! Introduction to Computing Lecture 2-3 Edgardo Molina Fall 2013 City College of New York 1 C++ for Engineers and Scientists Third Edition Chapter 2 Problem Solving Using C++ 2 Objectives In this

More information

cast int( x float( x str( x hex( int string int oct( int string int bin( int string int chr( int int ord( ch

cast int( x float( x str( x hex( int string int oct( int string int bin( int string int chr( int int ord( ch More About Values Casts To cast is to take a value of one type and return the corresponding value of some other type (or an error, if the cast is impossible) int(x) casts a string, float, or boolean x

More information

The Java Language Rules And Tools 3

The Java Language Rules And Tools 3 The Java Language Rules And Tools 3 Course Map This module presents the language and syntax rules of the Java programming language. You will learn more about the structure of the Java program, how to insert

More information

VIM David Orman July 14, 2009

VIM David Orman July 14, 2009 VIM David Orman July 14, 2009 Contents 1 VIM Basics 2 1.1 Modes................................. 2 1.1.1 Command mode....................... 3 1.1.2 Insert mode.......................... 3 1.1.3 Visual

More information

Filtering Service

Filtering Service Secure E-Mail Gateway (SEG) Service Administrative Guides Email Filtering Service Regular Expressions Overview Regular Expressions Overview AT&T Secure E-Mail Gateway customers can use Regular Expressions

More information

JAVASCRIPT AND JQUERY: AN INTRODUCTION (WEB PROGRAMMING, X452.1)

JAVASCRIPT AND JQUERY: AN INTRODUCTION (WEB PROGRAMMING, X452.1) Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 1 Professional Program: Data Administration and Management JAVASCRIPT AND JQUERY: AN INTRODUCTION (WEB PROGRAMMING, X452.1) WHO

More information

CS1 Lecture 3 Jan. 18, 2019

CS1 Lecture 3 Jan. 18, 2019 CS1 Lecture 3 Jan. 18, 2019 Office hours for Prof. Cremer and for TAs have been posted. Locations will change check class website regularly First homework assignment will be available Monday evening, due

More information

Search With Better Results

Search With Better Results Search With Better Results by Hewie Poplock info@hewie.net https://hewie.net http://cb4s.net Wednesday, March 14, 2018 The Google Search Page What is a Search Engine? A search engine is a web site connected

More information

String Computation Program

String Computation Program String Computation Program Reference Manual Scott Pender scp2135@columbia.edu COMS4115 Fall 2012 10/31/2012 1 Lexical Conventions There are four kinds of tokens: identifiers, keywords, expression operators,

More information

Java Programming Fundamentals - Day Instructor: Jason Yoon Website:

Java Programming Fundamentals - Day Instructor: Jason Yoon Website: Java Programming Fundamentals - Day 1 07.09.2016 Instructor: Jason Yoon Website: http://mryoon.weebly.com Quick Advice Before We Get Started Java is not the same as javascript! Don t get them confused

More information

Searching Guide. September 16, Version 9.3

Searching Guide. September 16, Version 9.3 Searching Guide September 16, 2016 - Version 9.3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

More information

CS1 Lecture 3 Jan. 22, 2018

CS1 Lecture 3 Jan. 22, 2018 CS1 Lecture 3 Jan. 22, 2018 Office hours for me and for TAs have been posted, locations will change check class website regularly First homework available, due Mon., 9:00am. Discussion sections tomorrow

More information

Searching Guide. November 17, Version 9.5

Searching Guide. November 17, Version 9.5 Searching Guide November 17, 2017 - Version 9.5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

More information

Program Fundamentals

Program Fundamentals Program Fundamentals /* HelloWorld.java * The classic Hello, world! program */ class HelloWorld { public static void main (String[ ] args) { System.out.println( Hello, world! ); } } /* HelloWorld.java

More information

LESSON 1. A C program is constructed as a sequence of characters. Among the characters that can be used in a program are:

LESSON 1. A C program is constructed as a sequence of characters. Among the characters that can be used in a program are: LESSON 1 FUNDAMENTALS OF C The purpose of this lesson is to explain the fundamental elements of the C programming language. C like other languages has all alphabet and rules for putting together words

More information

Academic ASAP, Expanded Academic ASAP and Expanded Academic ASAP International Tip Sheet

Academic ASAP, Expanded Academic ASAP and Expanded Academic ASAP International Tip Sheet Academic ASAP, Expanded Academic ASAP and Expanded Academic ASAP International Tip Sheet The functionality among the Academic ASAP, Expanded Academic ASAP and Expanded Academic ASAP International databases

More information

Microsoft Power Query for Excel Formula Language Specification

Microsoft Power Query for Excel Formula Language Specification Microsoft Power Query for Excel Formula Language Specification August, 2015 2015 Microsoft Corporation. All rights reserved. This specification is provided as is and Microsoft disclaims all warranties

More information

Without savetrees. An Example Document

Without savetrees. An Example Document Without savetrees An Example Document Leslie Lamport January 21, 1994 This is an example input file. Comparing it with the output it generates can show you how to produce a simple document of your own.

More information

Meeting One. Aaron Ecay. February 2, 2011

Meeting One. Aaron Ecay. February 2, 2011 Meeting One Aaron Ecay February 2, 2011 1 Introduction to a L A TEX file Welcome to LaTeX. Let s start learning how to use the software by going over this document piece by piece. We ll read the output

More information

Chapter 5 Retrieving Documents

Chapter 5 Retrieving Documents Chapter 5 Retrieving Documents Each time a document is added to ApplicationXtender Web Access, index information is added to identify the document. This index information is used for document retrieval.

More information

Jim Lambers ENERGY 211 / CME 211 Autumn Quarter Programming Project 2

Jim Lambers ENERGY 211 / CME 211 Autumn Quarter Programming Project 2 Jim Lambers ENERGY 211 / CME 211 Autumn Quarter 2007-08 Programming Project 2 This project is due at 11:59pm on Friday, October 17. 1 Introduction In this project, you will implement functions in order

More information

PYTHON- AN INNOVATION

PYTHON- AN INNOVATION PYTHON- AN INNOVATION As per CBSE curriculum Class 11 Chapter- 2 By- Neha Tyagi PGT (CS) KV 5 Jaipur(II Shift) Jaipur Region Python Introduction In order to provide an input, process it and to receive

More information

Sequence of Characters. Non-printing Characters. And Then There Is """ """ Subset of UTF-8. String Representation 6/5/2018.

Sequence of Characters. Non-printing Characters. And Then There Is   Subset of UTF-8. String Representation 6/5/2018. Chapter 4 Working with Strings Sequence of Characters we've talked about strings being a sequence of characters. a string is indicated between ' ' or " " the exact sequence of characters is maintained

More information

Language Basics. /* The NUMBER GAME - User tries to guess a number between 1 and 10 */ /* Generate a random number between 1 and 10 */

Language Basics. /* The NUMBER GAME - User tries to guess a number between 1 and 10 */ /* Generate a random number between 1 and 10 */ Overview Language Basics This chapter describes the basic elements of Rexx. It discusses the simple components that make up the language. These include script structure, elements of the language, operators,

More information

Variables and Values

Variables and Values Variables and Values Names Variables (which hold values) and functions (which are blocks of code) both have names Names must begin with a letter and may contain letters, digits, and underscores Names are

More information

VARIABLES AND CONSTANTS

VARIABLES AND CONSTANTS UNIT 3 Structure VARIABLES AND CONSTANTS Variables and Constants 3.0 Introduction 3.1 Objectives 3.2 Character Set 3.3 Identifiers and Keywords 3.3.1 Rules for Forming Identifiers 3.3.2 Keywords 3.4 Data

More information

Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras

Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture 08 Tutorial 2, Part 2, Facebook API (Refer Slide Time: 00:12)

More information

Stylesheet Studies in the Linguistic Sciences: Illinois Working Papers

Stylesheet Studies in the Linguistic Sciences: Illinois Working Papers Stylesheet Studies in the Linguistic Sciences: Illinois Working Papers Ratified by the SLS Editorial Board 11/21/08. Guidelines subject to change before publication. 1. General comments: Please submit

More information

BASIC COMPUTATION. public static void main(string [] args) Fundamentals of Computer Science I

BASIC COMPUTATION. public static void main(string [] args) Fundamentals of Computer Science I BASIC COMPUTATION x public static void main(string [] args) Fundamentals of Computer Science I Outline Using Eclipse Data Types Variables Primitive and Class Data Types Expressions Declaration Assignment

More information

HOW DOES A SEARCH ENGINE WORK?

HOW DOES A SEARCH ENGINE WORK? HOW DOES A SEARCH ENGINE WORK? Hector says... Hi there! Did you know that the World Wide Web is made up of over a trillion web pages? That s more information than you d find in a really big library and

More information

Shorter space after ellipsis

Shorter space after ellipsis sign up log in tour help TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required. Here's how

More information

View and Submit an Assignment in Criterion

View and Submit an Assignment in Criterion View and Submit an Assignment in Criterion Criterion is an Online Writing Evaluation service offered by ETS. It is a computer-based scoring program designed to help you think about your writing process

More information

Using Search Connectors

Using Search Connectors Using Search Connectors On any Checkpoint screen that has a Keywords field, you can enter search terms and phrases along with search connectors to filter and customize the search to get more specific results.

More information

Mr. Monroe s Guide to Mastering Java Syntax

Mr. Monroe s Guide to Mastering Java Syntax Mr. Monroe s Guide to Mastering Java Syntax Getting Started with Java 1. Download and install the official JDK (Java Development Kit). 2. Download an IDE (Integrated Development Environment), like BlueJ.

More information

How to Use Adhoc Parameters in Actuate Reports

How to Use Adhoc Parameters in Actuate Reports How to Use Adhoc Parameters in Actuate Reports By Chris Geiss chris_geiss@yahoo.com http://www.chrisgeiss.com How to Use Adhoc Parameters in Actuate Reports By Chris Geiss Revised 3/31/2002 This document

More information

A variable is a name for a location in memory A variable must be declared

A variable is a name for a location in memory A variable must be declared Variables A variable is a name for a location in memory A variable must be declared, specifying the variable's name and the type of information that will be held in it data type variable name int total;

More information

Troubleshooting Guide for Search Settings. Why Are Some of My Papers Not Found? How Does the System Choose My Initial Settings?

Troubleshooting Guide for Search Settings. Why Are Some of My Papers Not Found? How Does the System Choose My Initial Settings? Solution home Elements Getting Started Troubleshooting Guide for Search Settings Modified on: Wed, 30 Mar, 2016 at 12:22 PM The purpose of this document is to assist Elements users in creating and curating

More information

Introduction hashing: a technique used for storing and retrieving information as quickly as possible.

Introduction hashing: a technique used for storing and retrieving information as quickly as possible. Lecture IX: Hashing Introduction hashing: a technique used for storing and retrieving information as quickly as possible. used to perform optimal searches and is useful in implementing symbol tables. Why

More information

APPENDIX F CODING FOR PUP

APPENDIX F CODING FOR PUP APPENDIX F CODING FOR PUP As most PUP formatting codes reflect editorial decisions, editors are responsible for keying as much coding as possible. These codes are essential for setting the volume into

More information

Intro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming

Intro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming Intro to Programming Unit 7 Intro to Programming 1 What is Programming? 1. Programming Languages 2. Markup vs. Programming 1. Introduction 2. Print Statement 3. Strings 4. Types and Values 5. Math Externals

More information

Wentworth Institute of Technology. Engineering & Technology WIT COMP1000. Java Basics

Wentworth Institute of Technology. Engineering & Technology WIT COMP1000. Java Basics WIT COMP1000 Java Basics Java Origins Java was developed by James Gosling at Sun Microsystems in the early 1990s It was derived largely from the C++ programming language with several enhancements Java

More information

PREDIKKTA HEADLINES NOTES: Compare Health Insurance. Buy Shoes Online. Hire Painters from $35/Hr

PREDIKKTA HEADLINES NOTES: Compare Health Insurance. Buy Shoes Online. Hire Painters from $35/Hr Use this as a template to help you fill out your survey. You may have up to 6 of each, Headline, URL and Description. Extensions: up to 4 Phone Numbers and 3 Locations. HEADLINES The headline is the most

More information

Working with Strings. Husni. "The Practice of Computing Using Python", Punch & Enbody, Copyright 2013 Pearson Education, Inc.

Working with Strings. Husni. The Practice of Computing Using Python, Punch & Enbody, Copyright 2013 Pearson Education, Inc. Working with Strings Husni "The Practice of Computing Using Python", Punch & Enbody, Copyright 2013 Pearson Education, Inc. Sequence of characters We've talked about strings being a sequence of characters.

More information

If Statements, For Loops, Functions

If Statements, For Loops, Functions Fundamentals of Programming If Statements, For Loops, Functions Table of Contents Hello World Types of Variables Integers and Floats String Boolean Relational Operators Lists Conditionals If and Else Statements

More information

Standard 11. Lesson 9. Introduction to C++( Up to Operators) 2. List any two benefits of learning C++?(Any two points)

Standard 11. Lesson 9. Introduction to C++( Up to Operators) 2. List any two benefits of learning C++?(Any two points) Standard 11 Lesson 9 Introduction to C++( Up to Operators) 2MARKS 1. Why C++ is called hybrid language? C++ supports both procedural and Object Oriented Programming paradigms. Thus, C++ is called as a

More information

SQL OVERVIEW. CS121: Relational Databases Fall 2017 Lecture 4

SQL OVERVIEW. CS121: Relational Databases Fall 2017 Lecture 4 SQL OVERVIEW CS121: Relational Databases Fall 2017 Lecture 4 SQL 2 SQL = Structured Query Language Original language was SEQUEL IBM s System R project (early 1970 s) Structured English Query Language Caught

More information

CCH China Law Express & China Law for Foreign Business. Participant Training Guide

CCH China Law Express & China Law for Foreign Business. Participant Training Guide CCH China Law Express & China Law for Foreign Business July, 2007 Table of Contents INTRODUCTION...2 COURSE OBJECTIVES...2 LOGGING IN...3 Library Layout and Subscription Content...4 CHINA LAW EXPRESS...5

More information

Database &.NET Basics: Take what you know about SQL and apply that to SOQL, SOSL, and DML in Apex.

Database &.NET Basics: Take what you know about SQL and apply that to SOQL, SOSL, and DML in Apex. Database &.NET Basics: Take what you know about SQL and apply that to SOQL, SOSL, and DML in Apex. Unit 1: Moving from SQL to SOQL SQL & SOQL Similar but Not the Same: The first thing to know is that although

More information

An overview about DroidBasic For Android

An overview about DroidBasic For Android An overview about DroidBasic For Android from February 25, 2013 Contents An overview about DroidBasic For Android...1 Object-Oriented...2 Event-Driven...2 DroidBasic Framework...2 The Integrated Development

More information

GraphQuil Language Reference Manual COMS W4115

GraphQuil Language Reference Manual COMS W4115 GraphQuil Language Reference Manual COMS W4115 Steven Weiner (Systems Architect), Jon Paul (Manager), John Heizelman (Language Guru), Gemma Ragozzine (Tester) Chapter 1 - Introduction Chapter 2 - Types

More information

Polar Coordinates. 2, π and ( )

Polar Coordinates. 2, π and ( ) Polar Coordinates Up to this point we ve dealt exclusively with the Cartesian (or Rectangular, or x-y) coordinate system. However, as we will see, this is not always the easiest coordinate system to work

More information

What is MarkLogic Server? An overview

What is MarkLogic Server? An overview An overview By Jason Hunter October 2010 Table of Contents 3 What is MarkLogic Server? 3 Document Centric 3 Transactional 4 Search-Centric 4 Structure Aware 5 Schema Agnostic 5 XQuery and XSLT Driven 6

More information

OUTLINE. Advanced Technical Communication & Writing Skills. What is technical communication? Technical communication skills

OUTLINE. Advanced Technical Communication & Writing Skills. What is technical communication? Technical communication skills Advanced Technical Communication & Writing Skills What is technical communication? Technical communication skills Principles of technical writing Technical writing is interpreting Planning is crucial Technical

More information

MySQL for Developers with Developer Techniques Accelerated

MySQL for Developers with Developer Techniques Accelerated Oracle University Contact Us: 02 696 8000 MySQL for Developers with Developer Techniques Accelerated Duration: 5 Days What you will learn This MySQL for Developers with Developer Techniques Accelerated

More information

Papa Bear Press Short Story Submissions Guide. February 8, 2015, version 1.2

Papa Bear Press Short Story Submissions Guide. February 8, 2015, version 1.2 Papa Bear Press Short Story Submissions Guide February 8, 2015, version 1.2 Contents Document Type... 3 Manuscript Layout... 3 Document Formatting... 3 Formatting Text... 3 Formatting Paragraphs... 3 Image

More information

Defining Program Syntax. Chapter Two Modern Programming Languages, 2nd ed. 1

Defining Program Syntax. Chapter Two Modern Programming Languages, 2nd ed. 1 Defining Program Syntax Chapter Two Modern Programming Languages, 2nd ed. 1 Syntax And Semantics Programming language syntax: how programs look, their form and structure Syntax is defined using a kind

More information

Information Retrieval. CS630 Representing and Accessing Digital Information. What is a Retrieval Model? Basic IR Processes

Information Retrieval. CS630 Representing and Accessing Digital Information. What is a Retrieval Model? Basic IR Processes CS630 Representing and Accessing Digital Information Information Retrieval: Retrieval Models Information Retrieval Basics Data Structures and Access Indexing and Preprocessing Retrieval Models Thorsten

More information

[MS-KQL]: Keyword Query Language Structure Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-KQL]: Keyword Query Language Structure Protocol. Intellectual Property Rights Notice for Open Specifications Documentation [MS-KQL]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation ( this documentation ) for protocols,

More information

Basic Scripting, Syntax, and Data Types in Python. Mteor 227 Fall 2017

Basic Scripting, Syntax, and Data Types in Python. Mteor 227 Fall 2017 Basic Scripting, Syntax, and Data Types in Python Mteor 227 Fall 2017 Basic Shell Scripting/Programming with Python Shell: a user interface for access to an operating system s services. The outer layer

More information

Contents. Signing In... 3 Answering Your Personal Security Question... 4 Forgetting Your Password... 4 Exploring the Learning Center Interface...

Contents. Signing In... 3 Answering Your Personal Security Question... 4 Forgetting Your Password... 4 Exploring the Learning Center Interface... User Guide Contents Logging On... Signing In... Answering Your Personal Security Question... 4 Forgetting Your Password... 4 Exploring the Learning Center Interface... 5 Understanding Icons... 5 Understanding

More information

Part III Appendices 165

Part III Appendices 165 Part III Appendices 165 Appendix A Technical Instructions Learning Outcomes This material will help you learn how to use the software you need to do your work in this course. You won t be tested on it.

More information

The SPL Programming Language Reference Manual

The SPL Programming Language Reference Manual The SPL Programming Language Reference Manual Leonidas Fegaras University of Texas at Arlington Arlington, TX 76019 fegaras@cse.uta.edu February 27, 2018 1 Introduction The SPL language is a Small Programming

More information

Homework #5: Low Level File I/O Drill Problem #1

Homework #5: Low Level File I/O Drill Problem #1 Function Name: toomanytlas Homework #5: Low Level File I/O Drill Problem #1 1. (char) A string containing the name of the file 1. (char) A phrase made from the acronym of the input file During a long,

More information

More about Binary 9/6/2016

More about Binary 9/6/2016 More about Binary 9/6/2016 Unsigned vs. Two s Complement 8-bit example: 1 1 0 0 0 0 1 1 2 7 +2 6 + 2 1 +2 0 = 128+64+2+1 = 195-2 7 +2 6 + 2 1 +2 0 = -128+64+2+1 = -61 Why does two s complement work this

More information

Student Guide for Usage of Criterion

Student Guide for Usage of Criterion Student Guide for Usage of Criterion Criterion is an Online Writing Evaluation service offered by ETS. It is a computer-based scoring program designed to help you think about your writing process and communicate

More information

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation. [MS-KQL]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages,

More information

C++ Data Types. 1 Simple C++ Data Types 2. 3 Numeric Types Integers (whole numbers) Decimal Numbers... 5

C++ Data Types. 1 Simple C++ Data Types 2. 3 Numeric Types Integers (whole numbers) Decimal Numbers... 5 C++ Data Types Contents 1 Simple C++ Data Types 2 2 Quick Note About Representations 3 3 Numeric Types 4 3.1 Integers (whole numbers)............................................ 4 3.2 Decimal Numbers.................................................

More information

The Big Idea: Background: About Serial

The Big Idea: Background: About Serial Lesson 6 Lesson 6: Serial Serial Input Input The Big Idea: Information coming into an Arduino sketch is called input. This lesson focuses on text in the form of characters that come from the user via the

More information

ADVANTAGES. Via PL/SQL, all sorts of calculations can be done quickly and efficiently without use of Oracle engine.

ADVANTAGES. Via PL/SQL, all sorts of calculations can be done quickly and efficiently without use of Oracle engine. 1 PL/SQL INTRODUCTION SQL does not have procedural capabilities. SQL does not provide the programming techniques of condition checking, looping and branching that is required for data before permanent

More information

YOLOP Language Reference Manual

YOLOP Language Reference Manual YOLOP Language Reference Manual Sasha McIntosh, Jonathan Liu & Lisa Li sam2270, jl3516 and ll2768 1. Introduction YOLOP (Your Octothorpean Language for Optical Processing) is an image manipulation language

More information

JQuery and Javascript

JQuery and Javascript JQuery and Javascript Javascript - a programming language to perform calculations/ manipulate HTML and CSS/ make a web page interactive JQuery - a javascript framework to help manipulate HTML and CSS JQuery

More information

Instructions for programming and using macros for editing student papers. Code included at the end of this document

Instructions for programming and using macros for editing student papers. Code included at the end of this document Instructions: I find useful a suite of 16 individual macros, each responding to a particular frequent error in student papers, and each triggered by holding down Shift and Alt and typing a single letter

More information

CS 115 Lecture 4. More Python; testing software. Neil Moore

CS 115 Lecture 4. More Python; testing software. Neil Moore CS 115 Lecture 4 More Python; testing software Neil Moore Department of Computer Science University of Kentucky Lexington, Kentucky 40506 neil@cs.uky.edu 8 September 2015 Syntax: Statements A statement

More information

Alphabetical Index referenced by section numbers for PUNCTUATION FOR FICTION WRITERS by Rick Taubold, PhD and Scott Gamboe

Alphabetical Index referenced by section numbers for PUNCTUATION FOR FICTION WRITERS by Rick Taubold, PhD and Scott Gamboe Alphabetical Index referenced by section numbers for PUNCTUATION FOR FICTION WRITERS by Rick Taubold, PhD and Scott Gamboe?! 4.7 Abbreviations 4.1.2, 4.1.3 Abbreviations, plurals of 7.8.1 Accented letters

More information

Python allows variables to hold string values, just like any other type (Boolean, int, float). So, the following assignment statements are valid:

Python allows variables to hold string values, just like any other type (Boolean, int, float). So, the following assignment statements are valid: 1 STRINGS Objectives: How text data is internally represented as a string Accessing individual characters by a positive or negative index String slices Operations on strings: concatenation, comparison,

More information

https://www.eskimo.com/~scs/cclass/notes/sx8.html

https://www.eskimo.com/~scs/cclass/notes/sx8.html 1 de 6 20-10-2015 10:41 Chapter 8: Strings Strings in C are represented by arrays of characters. The end of the string is marked with a special character, the null character, which is simply the character

More information

[MS-KQL]: Keyword Query Language Structure Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-KQL]: Keyword Query Language Structure Protocol. Intellectual Property Rights Notice for Open Specifications Documentation [MS-KQL]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages,

More information

ENGR 101 Engineering Design Workshop

ENGR 101 Engineering Design Workshop ENGR 101 Engineering Design Workshop Lecture 2: Variables, Statements/Expressions, if-else Edgardo Molina City College of New York Literals, Variables, Data Types, Statements and Expressions Python as

More information

Journey to the center of the earth Deep understanding of SAS language processing mechanism Di Chen, SAS Beijing R&D, Beijing, China

Journey to the center of the earth Deep understanding of SAS language processing mechanism Di Chen, SAS Beijing R&D, Beijing, China Journey to the center of the earth Deep understanding of SAS language processing Di Chen, SAS Beijing R&D, Beijing, China ABSTRACT SAS is a highly flexible and extensible programming language, and a rich

More information