Saturday, 26 January 2019

Arduino - VIII

After the last article on the integration of  GSM (Global System for Mobile Communication) Shield with Arduino, we extend the discussion in this post to looking at sending SMS (Short Message Service) from our integrated setup

We will be using the same setup comprising SIM800 with a SIM card that we used in the earlier post. The communication between Arduino and the GSM Shield will be the Rx, Tx and Ground on Arduino to Tx, Rx and Ground on GSM Shield, respectively, as is shown below for reference:




















The code is the same as the last article

First, we will send the SMS manually using the Arduino Serial Monitor using the following commands:

AT+CMGF=1          // Sets SMS system into text mode

AT+CMGS= "xxxxxxxxxx"  //Sets the destination number. No need to prefix with + or country code

Above command returns a prompt

Enter message and end with

First Message

This will send the message and you will get a success response as in steps show below:




















Screenshot from mobile is shown below:

















We can also send the SMS programmatically. The code is shown below:


















Screenshot from mobile is shown below:



















In this post we have sent SMS through Serial Monitor and also programmatically. This concludes the post on sending SMS using GSM Shield

Friday, 25 January 2019

Tableau - IV

The sample questions in this post and following posts in this series are oriented more towards Desktop Specialist credential that is the first of the Tableau Desktop Exams series. These questions may be helpful for preparation for other Tableau Certification Exams as well

Answers to previous post are given below:

31. a,b
32. a,b
33. a,b,c,d
34. a
35. b
36. a
37. b
38. a,b,c,f
39. b
40. a
41. b
42. a,b,d,e
43. a
44. a
45. c

We continue with the next set of questions on Tableau in this post

46. Pie charts are best suited visualizations when:

a) there are a large number of slices
b) there is a large amount of data
c) there is a need to show a trend in data
d) there are fewer wedges

47. Based on the selection of dimensions and measures in Rows Shelf and Columns Shelf, it is possible to change the default visualization shown using the the Show Me on the tool bar

a) True
b) False

48. Maps are ideal visualizations to show:

a) Numerical data
b) Geocoded data
c) Aggregate data
d) Historical data

49. Maps, by themselves, are complete visualizations. It is not possible to overlay maps with Marks

a) True
b) False

50. Histograms are useful when:

a) comparing data across two or more categories
b) relating different segments of data to the complete data set
c) trying to understand distribution of data
d) showing the start and end dates of a process

51. The visualization appropriate for showing correlation between two variables is:

a) Pie Chart
b) Scatter Plot
c) Bullet Chart
d) Candlestick Chart

52. If one wishes to view data trends over time, one should use:

a) Bar Chart
b) Word Cloud
c) Treemap
d) Line Chart

53. If we wish to compare trends of two measures on different scales over the same dimension, we can use:

a) Dual Axis Chart
b) Pie Chart
c) Box-and-whisker Plot
d) Bullet Chart

54. Pareto Charts contain: (Choose all that qualify)

a) Wedge
b) Line
c) Bar
d) Whisker

55. Which of the following are variants of bar chart? (Choose all that qualify)

a) Stacked
b) Side-by-side
c) Grouped
d) Stacked Side-by-side

56. Cross Tabulation is synonymous with: (Choose all that qualify)

a) Text table
b) State table
c) Pivot table
d) Cross-tab

57. A Highlight table can be seen as an enhancement of: (Choose all that qualify)

a) Text table
b) Waterfall Chart
c) Lift Chart
d) Heatmap

58. With the help of Pages Shelf, we can split a view into a number of pages based on a specific field

a) True
b) False

59. The default mark type selected by Tableau for a newly created view is called Automatic:

a) True
b) False

60. Area chart is basically a:

a) Bump chart
b) Scatterplot
c) Waterfall Chart
d) Line chart


Answers in later posts ...


Thursday, 24 January 2019

Tableau - III

The questions in this article and following posts are oriented more towards Desktop Specialist credential that is the first of the Tableau Desktop Exams series. These questions may be helpful for preparation for other Tableau Certification Exams as well

We continue with the next set of questions on Tableau in this post.

Answers to previous post are given below:

16. c
17. a,b,d
18. b
19. b
20. a,b,c,d
21. a
22. a,b,c,e
23. a
24. b
25. c
26. e
27. a,b,c,d
28. a
29. a,c,d,e
30. b,d

For all the questions below, we will be using TableauDesktop-64bit-2018-3-2 or Tableau Public 2018.3.0

The next set of questions are:

31. Where in Tableau can you change the data type of a field? (Choose all that qualify)

a) on Data Source tab
b) on Sheet tab
c) on Dashboard tab
d) on Story tab

32. Where in Tableau can you rename a field? (Choose all that qualify)

a) on Data Source tab
b) on Sheet tab
c) on Dashboard tab
d) on Story tab

33. Which is not a valid geographical role in Tableau? (Choose all that qualify)

a) Zone
b) Territory
c) Nation
d) Prefecture

34. It is possible to change the data type of Number (whole) to Number (decimal) without any loss of data

a) True
b) False

35. It is possible to change the data type of Number (decimal) to Number (whole) without any loss of data

a) True
b) False

36. Where in Tableau can you perform joins or unions?

a) on Data Source tab
b) on Sheet tab
c) on Dashboard tab
d) on Story tab

37. Where in Tableau can you perform blending?

a) on Data Source tab
b) on Sheet tab
c) on Dashboard tab
d) on Story tab

38. What are the different types of joins shown in Join window in Tableau? (Choose all that qualify)

a) Inner
b) Left
c) Right
d) Equijoin
e) Cross
f) Full Outer

39. Which is not a valid operator when setting up joins in Tableau?

a) >=
b) !=
c) <
d) =

40. It is possible to join on calculated fields in Tableau

a) True
b) False

41. It is not possible to filter the data on Data Source tab in Tableau. So, data must be filtered before import into Tableau

a) True
b) False

42. Which of the following are valid operations on Data Source tab? (Choose all that qualify)

a) Merge Mismatched Fields
b) Pivot
c) Create Set...
d) Create Group...
e) Create Bins...

43. It is possible to perform cross-database joins in Tableau

a) True
b) False

44. Data from different data sources can be combined either by cross-database joins or blending. The difference between the two is that data is joined at the row level in cross-database join while in blending separate queries are sent to data sources and the results fetched from these queries are aggregated to a common level in Tableau

a) True
b) False

45. It is possible to change the relationship set up automatically by Tableau when blending is performed

a) using Data -> Edit Data Source Filters... on Data Source tab
b) using Data -> Replace Data Source... on Sheet tab
c) using Data -> Edit Relationships... on Sheet tab
d) setting the correct join relationship in Data Source tab

Answers in later posts ...